Skip to content

Commit 554fb8c

Browse files
authored
--warn-unused-config should not be a strict flag (#21139)
Fixes #21137 This flag has nothing to with type checking strictness, it is a convenience option for config maintenance.
1 parent c5af8af commit 554fb8c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

mypy/main.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,6 @@ def add_invertible_flag(
599599
add_invertible_flag(
600600
"--warn-unused-configs",
601601
default=False,
602-
strict_flag=True,
603602
help="Warn about unused '[mypy-<pattern>]' or '[[tool.mypy.overrides]]' config sections",
604603
group=config_group,
605604
)

0 commit comments

Comments
 (0)