mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-16 05:09:53 -06:00
leverage mypy to check language implementations
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user