diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7a553388a..a4e93e4be 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -40,6 +40,7 @@ repos: hooks: - id: mypy additional_dependencies: [types-paramiko, types-python-dateutil, types-requests] + exclude: "vulture_allowlist.py" args: [--ignore-missing-imports] - repo: https://github.com/koalaman/shellcheck-precommit rev: v0.7.2 diff --git a/pyproject.toml b/pyproject.toml index 2573d56fd..813908fa6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,4 +30,5 @@ exclude = ["monkey/monkey_island/cc/ui/", "monkey/tests/", "monkey/monkey_island paths = ["."] [tool.mypy] +exclude = 'vulture_allowlist\.py' show_error_codes = true