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

Add BaseException to raise-vanilla-class rule (TRY002) #74

Closed
wants to merge 1 commit into from

Conversation

epenet
Copy link

@epenet epenet commented Aug 5, 2024

Fixes #73

@epenet epenet changed the title Add BaseException to raise-vanilla-class rule (TRY002) Add BaseException to raise-vanilla-class rule (TRY002) Aug 5, 2024
@guilatrova
Copy link
Owner

This makes sense to me, but we need tests to ensure this is covered.

If you can't, I'll do it later over the week.

@guilatrova
Copy link
Owner

Your commits are also not compliant with our guidelines (to ensure deployments will be triggered properly).
I'll recreate this PR later with your suggestion. I believe it's a good idea.

@epenet
Copy link
Author

epenet commented Aug 8, 2024

This makes sense to me, but we need tests to ensure this is covered.

If you can't, I'll do it later over the week.

Thanks for taking charge of this - I'm not sure when I would get a chance to adjust the PR.

FYI: the corresponding PR in ruff has been accepted and merged. astral-sh/ruff#12620

@guilatrova
Copy link
Owner

Done in d2a6beb

@guilatrova guilatrova closed this Aug 19, 2024
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

Successfully merging this pull request may close these issues.

TRY002 does not take into account BaseException
2 participants