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

Too many exceptions in one except #2917

Open
sobolevn opened this issue Apr 4, 2024 · 0 comments
Open

Too many exceptions in one except #2917

sobolevn opened this issue Apr 4, 2024 · 0 comments
Labels
rule request Adding a new rule

Comments

@sobolevn
Copy link
Member

sobolevn commented Apr 4, 2024

try:
  ...
except (A, B, C, D, E, F, Z, Y, X):
  ...

This code clearly shows that something is wrong with the exception handling.
We need a rule for that.

@sobolevn sobolevn added the rule request Adding a new rule label Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rule request Adding a new rule
Projects
None yet
Development

No branches or pull requests

1 participant