From 8a43e20493a325a22979d6e8a0d6e08a51b5a325 Mon Sep 17 00:00:00 2001 From: correctmost <134317971+correctmost@users.noreply.github.com> Date: Thu, 13 Mar 2025 16:28:41 -0400 Subject: [PATCH] Enable additional mypy error codes --- pyproject.toml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 7530e2aabe..1311b567a7 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