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 989b800906 - Show all commits

pyproject.toml: Enable mypy.disallow_untyped_defs

Add disallow_untyped_defs = true to the mypy configuration. This
requires all function definitions to have complete type annotations
for both parameters and return types. Since disallow_incomplete_defs
was already satisfied (all functions have partial annotations), this
final rule validates that no function is left without any type hints.

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-23 08:58:10 +02:00

View file

@ -18,6 +18,8 @@
disallow_incomplete_defs = true
disallow_untyped_defs = true
enable_error_code = [
"explicit-override",
"ignore-without-code",