-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
False positive for B031
in mutually exclusive branches
#3801
Labels
bug
Something isn't working
Comments
Is this incorrect? |
If the generator uses are in mutually exclusive execution paths, I think this error should not be raised. |
Ahh yeah, I see. It might be difficult to detect this reliably. |
charliermarsh
added
bug
Something isn't working
and removed
question
Asking for support or clarification
labels
Mar 29, 2023
(But yes, it's a false positive.) |
charliermarsh
changed the title
False positive B031
False positive for Mar 29, 2023
B031
in mutually exclusive branches
Closed
Thank you @dhruvmanila @charliermarsh! A |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ruff v0.0.260
raises false positive
flake8-bugbear
B031The text was updated successfully, but these errors were encountered: