-
-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Description
For the same reasons as described in C417, it would also make sense to have a checker that suggested similar changes for filter used in conjunction with lambda, e.g.:
filter(lambda x: y, items) -> (x for x in items if y)
list(filter(lambda x: y, items)) -> [x for x in items if y]
set(filter(lambda x: y, items)) -> {x for x in items if y}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels