diff --git a/pyproject.toml b/pyproject.toml index 0d943dd..0373cb1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -478,6 +478,8 @@ enable_error_code = [ "mutable-override", # Report variables that may be used before they are assigned "possibly-undefined", + # Report conditions that are always true or always false + "redundant-expr", ] # Check further edge cases that are rarely an issue in practice