Complain about redundant ternaries? #12516
Labels
good first issue
Good for newcomers
help wanted
Contributions especially welcome
rule
Implementing or modifying a lint rule
while refactoring i got this code and was fully expecting
ruff
to complain about the redundant ternary but it doesn't. maybe worth adding a rule for this?The text was updated successfully, but these errors were encountered: