Forbid to have too many compares in one expression #639
Labels
help wanted
Extra attention is needed
level:starter
Good for newcomers
rule request
Adding a new rule
Milestone
Rule request
Thesis
We need to forbid expressions with too many
ast.Compare
parts:I would say, that we need to allow
3
or4
elements max.It is also possible to keep
==
with4
elements. And other compare elements can have only3
parts:z > x > y
.Reasoning
It is hard to read elements with multiple compare cases.
The text was updated successfully, but these errors were encountered: