Do not allow to yield too long tuples #601
Labels
help wanted
Extra attention is needed
level:starter
Good for newcomers
rule request
Adding a new rule
Rule request
Thesis
Expressions like
yield foo, bar, baz, fling, flung
should not be allowed.Reasoning
We should use lists of similar type or wrapper objects instead.
Related: https://github.com/troessner/reek/blob/master/docs/Long-Yield-List.md
Original: #422
The text was updated successfully, but these errors were encountered: