Project: Add mypy pre-commit check

This commit is contained in:
Kekoa Kaaikala 2022-08-25 15:15:21 +00:00
parent 8e3abe7601
commit 47bb7b207f
1 changed files with 7 additions and 0 deletions

View File

@ -35,6 +35,13 @@ repos:
hooks: hooks:
- id: eslint - id: eslint
args: ["monkey/monkey_island/cc/ui/src/", "--fix", "--max-warnings=0"] 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 - repo: local
hooks: hooks:
- id: pytest - id: pytest