From 0ac7ea2c85bc41db5f38c339878dba3ba6183e8d Mon Sep 17 00:00:00 2001 From: jorenham Date: Tue, 27 Jan 2026 14:15:56 +0100 Subject: [PATCH] enable the mypy's strict mode --- pyproject.toml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index cc616bc54..12f6fab3c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -216,11 +216,10 @@ testpaths = [ [tool.mypy] python_version = "3.10" pretty = true -disallow_any_generics = true -disallow_untyped_defs = true +strict = true +disallow_subclassing_any = false +disallow_untyped_calls = false enable_error_code = "ignore-without-code" -extra_checks = true -follow_imports = "silent" -warn_redundant_casts = true +no_implicit_reexport = false +warn_return_any = false warn_unreachable = true -warn_unused_ignores = true