forked from p34709852/monkey
Merge pull request #2220 from guardicore/add-mypy-precommit-hook
Project: Add mypy pre-commit check
This commit is contained in:
commit
fd502a832a
|
@ -35,6 +35,12 @@ repos:
|
|||
hooks:
|
||||
- id: eslint
|
||||
args: ["monkey/monkey_island/cc/ui/src/", "--fix", "--max-warnings=0"]
|
||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||
rev: v0.971
|
||||
hooks:
|
||||
- id: mypy
|
||||
additional_dependencies: [types-paramiko, types-python-dateutil, types-requests]
|
||||
args: [--ignore-missing-imports]
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: pytest
|
||||
|
|
Loading…
Reference in New Issue