pyproject.toml: Enable mypy.disallow_any_generics

Add disallow_any_generics = true to the mypy configuration. This
requires all generic types (dict, list, Iterable, Types, etc.) to
have explicit type arguments instead of using bare generic aliases.

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:
Jan Lindemann 2026-07-22 22:19:12 +02:00
commit 64edcec48c
Signed by: Jan Lindemann
GPG key ID: 3750640C9E25DD61

View file

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