leverage mypy to check language implementations

This commit is contained in:
Anthony Sottile
2020-01-12 09:06:06 -08:00
parent 327ed924a3
commit 4eea90c26c
4 changed files with 69 additions and 114 deletions

View File

@@ -113,6 +113,7 @@ class Hook(NamedTuple):
logger.info('This may take a few minutes...')
lang = languages[self.language]
assert lang.ENVIRONMENT_DIR is not None
venv = environment_dir(lang.ENVIRONMENT_DIR, self.language_version)
# There's potentially incomplete cleanup from previous runs