Skip to content

Commit

Permalink
Turn off mypy --warn-unused-ignores temporarily
Browse files Browse the repository at this point in the history
mypy 1.11.0 complains about unused type: ignore statements
that are required by earlier versions, causing failures.
This commit should be reverted once the CI system has moved
to using the newer version of mypy (at which time the type:
ignore statements that cause the failure will have to be
removed).
  • Loading branch information
marcpaterno committed Jul 31, 2024
1 parent c9c8eac commit a51b3fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ check_untyped_defs = True
exclude = build|docs|.venv|venv
warn_unused_configs = True
warn_redundant_casts = True
warn_unused_ignores = True
# Temporarily disable during transition to mypy 1.11.0
#warn_unused_ignores = True
no_implicit_optional = True
strict_equality = True
extra_checks = True
Expand Down

0 comments on commit a51b3fc

Please sign in to comment.