diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 82dd97e..7a4f6cc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,7 +23,6 @@ repos: hooks: - id: python-check-mock-methods - id: python-use-type-annotations - - id: python-check-blanket-type-ignore - id: python-check-blanket-noqa - repo: https://github.com/asottile/yesqa diff --git a/pyproject.toml b/pyproject.toml index c5cc1ee..5afe81e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,6 +45,7 @@ show_error_codes = true warn_redundant_casts = true warn_unused_configs = true warn_unused_ignores = true +enable_error_code = ["ignore-without-code"] files = "src" [build-system]