Skip to content
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

Ruff supports B001 (no bare exceptions), but as E722 #469

Closed
charliermarsh opened this issue Oct 26, 2022 · 2 comments
Closed

Ruff supports B001 (no bare exceptions), but as E722 #469

charliermarsh opened this issue Oct 26, 2022 · 2 comments

Comments

@charliermarsh
Copy link
Member

How should we handle identical exceptions that exist under different codes? (I don't really understand why this exception exists in flake8-bugbear, but it does.)

@charliermarsh
Copy link
Member Author

Similarly, B902 is covered by N804 and N805.

@charliermarsh
Copy link
Member Author

Similarly, B950 is roughly E501 (with some extra functionality).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant