Replies: 1 comment
-
This seems like it could be quite difficult to detect reliably, possibly even with type information, but thank you for the suggestion! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
On several occasions, I have realized that I was calling a function/method returning an iterable on each item inside a loop.
Does this rule makes sense for you to prevent this?
get_things() might do something else that returning the iterable, but in that case I would prefer to get the warning anyway and ignore the rule explicitly on the line.
Beta Was this translation helpful? Give feedback.
All reactions