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

Check for no-reraise-cancelled and cancelled-not-raised in except* #311

Open
Zac-HD opened this issue Nov 2, 2024 · 0 comments
Open

Check for no-reraise-cancelled and cancelled-not-raised in except* #311

Zac-HD opened this issue Nov 2, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Zac-HD
Copy link
Member

Zac-HD commented Nov 2, 2024

try:
    ...
except* trio.Cancelled:
    pass

is just as bad as the except: form, and thus I think we should apply exactly the same lint rule to these cases.

@Zac-HD Zac-HD added the enhancement New feature or request label Nov 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant