Skip to content

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

Merged
tleonhardt merged 1 commit intomasterfrom
ruff-try
May 25, 2025
Merged

Enable ruff TRY ruleset for warnings related to try/except issues#1426
tleonhardt merged 1 commit intomasterfrom
ruff-try

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