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

Enable Ruff TRY (tryceratops) #13359

Merged
merged 1 commit into from
Jan 3, 2025
Merged

Enable Ruff TRY (tryceratops) #13359

merged 1 commit into from
Jan 3, 2025

Conversation

Avasam
Copy link
Collaborator

@Avasam Avasam commented Jan 3, 2025

Ref #13295
https://docs.astral.sh/ruff/rules/#tryceratops-try

Coding patterns around raising exceptions. We seem to already be respecting all of them except raise-vanilla-args (TRY003), but I think that rule is too vague. (relevant: astral-sh/ruff#14398 )

@AlexWaygood AlexWaygood merged commit 33d1b16 into python:main Jan 3, 2025
46 checks passed
@Avasam Avasam deleted the Ruff-TRY branch January 3, 2025 03:47
hoel-bagard pushed a commit to hoel-bagard/typeshed that referenced this pull request Jan 5, 2025
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.

2 participants