From da752e041b19a67839aac69a483335bb05f99161 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Mon, 29 Aug 2022 15:43:57 -0400 Subject: [PATCH] Project: Exclude vulture_allowlist.py from mypy checks --- .pre-commit-config.yaml | 1 + pyproject.toml | 1 + 2 files changed, 2 insertions(+) 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