Skip to content

Add bare-except rule to ruff #3347

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

johannaengland
Copy link
Contributor

@johannaengland johannaengland commented Apr 25, 2025

Ref: https://docs.astral.sh/ruff/rules/blind-except/

I fixed some of the bare excepts, but also added many noqas, feel free to push changes if there are any added noqas that can be replaced by explicit exception catches

@johannaengland johannaengland requested review from lunkwill42 and a team April 25, 2025 13:15
@johannaengland johannaengland self-assigned this Apr 25, 2025
@johannaengland johannaengland added the nonews No news fragment is necessary for this PR (e.g. refactoring, cleanups, workflow/development changes) label Apr 25, 2025
@johannaengland johannaengland marked this pull request as ready for review April 30, 2025 06:59
@johannaengland johannaengland force-pushed the ruff/add-bare-except-rule branch from 5de6485 to 68f8661 Compare April 30, 2025 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
nonews No news fragment is necessary for this PR (e.g. refactoring, cleanups, workflow/development changes)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant