Enable the "redundant-expr" error code
This commit is contained in:
parent
7190724260
commit
fef268321a
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue