Skip to content

Commit 0b4af85

Browse files
committed
Do not warn about unused ignores with mypy
setup.cfg: Disable the warning for unused ignores in mypy as there seems to be an issue between versions of mypy about what is considered an "unused ignore".
1 parent e809b52 commit 0b4af85

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

setup.cfg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,3 +91,7 @@ warn_unused_ignores = true
9191
warn_redundant_casts = true
9292
warn_unused_configs = true
9393
warn_unreachable = true
94+
95+
[mypy-coverage_conditional_plugin]
96+
# We allow unused `ignore` comments, because we cannot sync it between versions:
97+
warn_unused_ignores = false

0 commit comments

Comments
 (0)