From b4a2e71b6bb8ca7563b28ffade3ed009ffd43b4d Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Fri, 8 Sep 2023 10:21:51 -0700 Subject: [PATCH] mypy: Enable new errors redundant-self, truthy-iterable. Signed-off-by: Anders Kaseorg --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 8df41bfc71..4c73c438fa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,8 +26,10 @@ warn_return_any = false # Enable optional errors. enable_error_code = [ + "redundant-self", "redundant-expr", "truthy-bool", + "truthy-iterable", "ignore-without-code", "unused-awaitable", ]