forked from p15670423/monkey
Project: Add mypy pre-commit check
This commit is contained in:
parent
8e3abe7601
commit
47bb7b207f
|
@ -35,6 +35,13 @@ 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]
|
||||
exclude: ^monkey/tests/
|
||||
args: [--ignore-missing-imports]
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: pytest
|
||||
|
|
Loading…
Reference in New Issue