From 4e26f6f53106cf2536ac1f92be552debb01aac6b Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Mon, 23 Sep 2024 13:46:35 +0200 Subject: [PATCH] MNT: Apply Repo-Review suggestion MY101 MY101: MyPy strict mode Must have `strict` in the mypy config. MyPy is best with strict or nearly strict configuration. If you are happy with the strictness of your settings already, ignore this check or set `strict = false` explicitly. --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index fa3f88116..47e298761 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -172,6 +172,7 @@ python_version = "3.11" exclude = [ "/tests", ] +strict = true warn_unreachable = true enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]