Skip to content

Enable ruff TRY ruleset for warnings related to try/except issues #1426

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

Merged
merged 1 commit into from
May 25, 2025

Conversation

tleonhardt
Copy link
Member

Enable ruff TRY ruleset for warnings related to try/except issues.

Globally disabled specific TRY003 rule because it wants you to avoid long messages when raising an exception and basically put the logic in a custom exception class for everything. This is too much of a hassle IMO.

Globally disabled specific TRY003 rule because it wants you to avoid long messages when raising an exception and basically put the logic in a custom exception class for everything. This is too much of a hassle IMO.
@tleonhardt tleonhardt merged commit 6ba8f32 into master May 25, 2025
47 checks passed
@tleonhardt tleonhardt deleted the ruff-try branch May 25, 2025 03:13
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.

1 participant