You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was raised in Flake8 Bugbear in issue 303 (and 305) and fixed in 22.10.27.
Ignoring these does cause some false negatives, for instance if the filter or map is not evaluated before the next iteration, but this was deemed acceptable in the Bugbear issue.
The text was updated successfully, but these errors were encountered:
False positive B023 errors are quite common with
filter
,reduce
,key=
,return
andmap
. For instance, this codeis fine, but it currently gets flagged as B023.
This was raised in Flake8 Bugbear in issue 303 (and 305) and fixed in 22.10.27.
Ignoring these does cause some false negatives, for instance if the
filter
ormap
is not evaluated before the next iteration, but this was deemed acceptable in the Bugbear issue.The text was updated successfully, but these errors were encountered: