jw.pkg: Massively tighten linter checks #53

Merged
Jan Lindemann merged 31 commits from jan/feature/20260809-pyrightconfig-json-mirror-strict-mypy-settings into master 2026-08-09 15:12:37 +02:00 AGit
Showing only changes of commit cbd6bac84c - Show all commits

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>
Jan Lindemann 2026-07-22 22:22:01 +02:00

View file

@ -8,6 +8,8 @@
disallow_any_generics = true
warn_unused_ignores = true
enable_error_code = [
"explicit-override",
"ignore-without-code",