From 8eda49d98f41c5d325961b39efd881948dfcd2c5 Mon Sep 17 00:00:00 2001 From: David Salvisberg Date: Wed, 15 Jan 2025 13:07:29 +0100 Subject: [PATCH] Switches to a more strict mypy config --- pyproject.toml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 89f714e..e142da1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -54,12 +54,8 @@ replace = """ [tool.mypy] python_version = 3.9 -follow_imports = "silent" -warn_redundant_casts = true +strict = true warn_unreachable = true -warn_unused_ignores = true -disallow_any_generics = true -disallow_untyped_defs = true mypy_path = "$MYPY_CONFIG_FILE_DIR" [tool.ruff]