-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
acceptedReady for implementationReady for implementationbugSomething isn't workingSomething isn't working
Description
Following on from this discussion and this PR, it might be good to add the Python builtin next to the exclusions list for FBT003.
Consider this code:
next(my_generator, False)The rule is upset about False here, but there is no keyword arg you can use. Trying to use default=False yields: TypeError: next() takes no keyword arguments.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
acceptedReady for implementationReady for implementationbugSomething isn't workingSomething isn't working