mypy passes with check_untyped_defs

This commit is contained in:
Anthony Sottile 2020-01-10 19:12:56 -08:00
parent ab19b94811
commit fa536a8693
25 changed files with 161 additions and 89 deletions

View file

@ -1,3 +1,6 @@
from typing import Any
from typing import Dict
from pre_commit.languages import conda
from pre_commit.languages import docker
from pre_commit.languages import docker_image
@ -13,6 +16,7 @@ from pre_commit.languages import script
from pre_commit.languages import swift
from pre_commit.languages import system
# A language implements the following constant and functions in its module:
#
# # Use None for no environment
@ -49,7 +53,7 @@ from pre_commit.languages import system
# (returncode, output)
# """
languages = {
languages: Dict[str, Any] = {
'conda': conda,
'docker': docker,
'docker_image': docker_image,