From b3fee32ee17414958dfb731f870cee469210903f Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Wed, 22 Jul 2026 22:48:35 +0200 Subject: [PATCH] pyproject.toml: Enable mypy.disallow_untyped_calls Add disallow_untyped_calls = true to the mypy configuration. This requires all function calls from typed code to target typed functions, ensuring better type safety across the codebase. 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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conf/templates/pyproject.toml b/conf/templates/pyproject.toml index 0500ebb4..790626e6 100644 --- a/conf/templates/pyproject.toml +++ b/conf/templates/pyproject.toml @@ -12,6 +12,8 @@ warn_unreachable = true + disallow_untyped_calls = true + enable_error_code = [ "explicit-override", "ignore-without-code",