diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2287f1c..9320dd2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -24,7 +24,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 c1e2e32..6107f4a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,6 +47,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]