mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-18 00:24:47 +04:00
leverage mypy to check language implementations
This commit is contained in:
parent
327ed924a3
commit
4eea90c26c
4 changed files with 69 additions and 114 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue