Enable the "redundant-expr" error code

This commit is contained in:
Alexander Hess 2026-12-01 13:11:45 +01:00
commit fef268321a
Signed by: alexander
GPG key ID: B46EDB4DFC26805D

View file

@ -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