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", ]