Skip to content

Enable Ruff YTT#13314

Merged
AlexWaygood merged 1 commit intopython:mainfrom
Avasam:Ruff-YTT
Dec 27, 2024
Merged

Enable Ruff YTT#13314
AlexWaygood merged 1 commit intopython:mainfrom
Avasam:Ruff-YTT

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
@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