pyproject.toml: Enable mypy.truthy-bool
Add the truthy-bool error code to the mypy configuration. This detects conditions and expressions that are always truthy because the type has no __bool__ or __len__ method. 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
38c776e638
commit
f689d083d7
1 changed files with 1 additions and 0 deletions
|
|
@ -6,6 +6,7 @@
|
||||||
"explicit-override",
|
"explicit-override",
|
||||||
"ignore-without-code",
|
"ignore-without-code",
|
||||||
"possibly-undefined",
|
"possibly-undefined",
|
||||||
|
"truthy-bool",
|
||||||
]
|
]
|
||||||
|
|
||||||
[tool.isort]
|
[tool.isort]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue