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:
parent
49bf2b2442
commit
64edcec48c
1 changed files with 2 additions and 0 deletions
|
|
@ -6,6 +6,8 @@
|
|||
|
||||
strict_equality = true
|
||||
|
||||
disallow_any_generics = true
|
||||
|
||||
enable_error_code = [
|
||||
"explicit-override",
|
||||
"ignore-without-code",
|
||||
|
|
|
|||
Loading…
Reference in a new issue