pyproject.toml: Enable mypy.warn_return_any
Add warn_return_any = true to the mypy configuration. This detects functions that return Any from contexts where a specific return type is declared, encouraging more precise type annotations. 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
1e613a39c6
commit
bbb9a9b17e
1 changed files with 2 additions and 0 deletions
|
|
@ -14,6 +14,8 @@
|
|||
|
||||
disallow_untyped_calls = true
|
||||
|
||||
warn_return_any = true
|
||||
|
||||
enable_error_code = [
|
||||
"explicit-override",
|
||||
"ignore-without-code",
|
||||
|
|
|
|||
Loading…
Reference in a new issue