Skip to content

Enable Ruff YTT #13314

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
Dec 27, 2024
Merged

Enable Ruff YTT #13314

merged 1 commit into from
Dec 27, 2024

Conversation

Avasam
Copy link
Collaborator

@Avasam Avasam commented Dec 27, 2024

Ref #13295
https://docs.astral.sh/ruff/rules/#flake8-2020-ytt

typeshed already passes as-is.
I think this group of rules is overall nice to catch odd version checks that flake8-PYI might not. I don't think we'd accept any of the formats it catches, so it can be caught before even going to review.

@AlexWaygood AlexWaygood merged commit 6c4d9eb into python:main Dec 27, 2024
46 checks passed
@Avasam Avasam deleted the Ruff-YTT branch December 27, 2024 15:00
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