Skip to content

Commit cdac033

Browse files
authored
Set mypy warn_unused_ignores to False (#5956)
Fixes #5954. ### Description ### Types of changes - [x] Non-breaking change (fix or new feature that would not break existing functionality). Signed-off-by: Felix Schnabel <f.schnabel@tum.de>
1 parent 3a3f6c4 commit cdac033

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,8 @@ ignore_missing_imports = True
185185
no_implicit_optional = True
186186
# Warns about casting an expression to its inferred type.
187187
warn_redundant_casts = True
188-
# Warns about unneeded # type: ignore comments.
189-
warn_unused_ignores = True
188+
# No error on unneeded # type: ignore comments.
189+
warn_unused_ignores = False
190190
# Shows a warning when returning a value with type Any from a function declared with a non-Any return type.
191191
warn_return_any = True
192192
# Prohibit equality checks, identity checks, and container checks between non-overlapping types.

0 commit comments

Comments
 (0)