From b6983a2d5a1f0e087e4ba0e6969e88c7829cb293 Mon Sep 17 00:00:00 2001 From: correctmost <134317971+correctmost@users.noreply.github.com> Date: Thu, 13 Mar 2025 17:16:27 -0400 Subject: [PATCH] Enable additional mypy error codes (#3257) --- pyproject.toml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 92735397..0e66b584 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -69,6 +69,15 @@ exclude = "^build/" disallow_any_explicit = false disallow_any_expr = false disallow_any_unimported = true +enable_error_code = [ + "explicit-override", + "mutable-override", + "redundant-expr", + "redundant-self", + "truthy-iterable", + "unimported-reveal", + "unused-awaitable", +] strict = true strict_bytes = true warn_unreachable = true