pyproject.toml: Enable mypy.ignore-without-code

Add the ignore-without-code error code to the mypy configuration.
This requires all # type: ignore comments to include a specific error
code, improving the precision and maintainability of type ignore
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:
Jan Lindemann 2026-07-22 21:54:54 +02:00
commit 5f6559dbe0
Signed by: Jan Lindemann
GPG key ID: 3750640C9E25DD61

View file

@ -2,7 +2,10 @@
{mypypath}
enable_error_code = "explicit-override"
enable_error_code = [
"explicit-override",
"ignore-without-code",
]
[tool.isort]