Project: Exclude vulture_allowlist.py from mypy checks

This commit is contained in:
Mike Salvatore 2022-08-29 15:43:57 -04:00
parent cff363597a
commit e98086e3d1
2 changed files with 2 additions and 0 deletions

View File

@ -40,6 +40,7 @@ repos:
hooks: hooks:
- id: mypy - id: mypy
additional_dependencies: [types-paramiko, types-python-dateutil, types-requests] additional_dependencies: [types-paramiko, types-python-dateutil, types-requests]
exclude: "vulture_allowlist.py"
args: [--ignore-missing-imports] args: [--ignore-missing-imports]
- repo: https://github.com/koalaman/shellcheck-precommit - repo: https://github.com/koalaman/shellcheck-precommit
rev: v0.7.2 rev: v0.7.2

View File

@ -30,4 +30,5 @@ exclude = ["monkey/monkey_island/cc/ui/", "monkey/tests/", "monkey/monkey_island
paths = ["."] paths = ["."]
[tool.mypy] [tool.mypy]
exclude = 'vulture_allowlist\.py'
show_error_codes = true show_error_codes = true