Raising len-as-conditions when using len on function returning generators or list comprehensions #4002
Labels
Astroid
Related to astroid
False Negative 🦋
No message is emitted but something is wrong with the code
Needs PR
This issue is accepted, sufficiently specified and now needs an implementation
Describe the solution you'd like
The following code should be de-commented in
len_checks.py
and properly raise a len-as-condition:Additional context
But this require an evolution in astroid first. See #3821 (comment)
The text was updated successfully, but these errors were encountered: