pyproject.toml: Enable mypy.warn_unused_ignores
Add warn_unused_ignores = true to the mypy configuration. This warns when a '# type: ignore' comment has no associated error code, ensuring all type ignores are explicit about which error they suppress. Assisted-by: unsloth/Qwen3.6-35B-A3B-GGUF:IQ4_NL and pi.dev 0.81.1 Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
fec0304543
commit
cbd6bac84c
1 changed files with 2 additions and 0 deletions
|
|
@ -8,6 +8,8 @@
|
|||
|
||||
disallow_any_generics = true
|
||||
|
||||
warn_unused_ignores = true
|
||||
|
||||
enable_error_code = [
|
||||
"explicit-override",
|
||||
"ignore-without-code",
|
||||
|
|
|
|||
Loading…
Reference in a new issue