From 5f6559dbe031bda5158105959832438e47f50541 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Wed, 22 Jul 2026 21:54:54 +0200 Subject: [PATCH] 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 --- conf/templates/pyproject.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/conf/templates/pyproject.toml b/conf/templates/pyproject.toml index 63965036..daf2d4e4 100644 --- a/conf/templates/pyproject.toml +++ b/conf/templates/pyproject.toml @@ -2,7 +2,10 @@ {mypypath} - enable_error_code = "explicit-override" + enable_error_code = [ + "explicit-override", + "ignore-without-code", + ] [tool.isort]