You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i keep stumbling across code where, for whatever reason, the person writing it thought it was a good idea to have several nested conditions in an if expression, which looks absolutely awful:
it would be nice if ruff had a rule to enforce that if expressions do not have any nested if expressions inside them, and instead suggests writing it as a regular if statement which is far easier to read
The text was updated successfully, but these errors were encountered:
i keep stumbling across code where, for whatever reason, the person writing it thought it was a good idea to have several nested conditions in an
if
expression, which looks absolutely awful:it would be nice if ruff had a rule to enforce that if expressions do not have any nested if expressions inside them, and instead suggests writing it as a regular if statement which is far easier to read
The text was updated successfully, but these errors were encountered: