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 PGH rules #13304

Merged
merged 1 commit into from
Dec 26, 2024
Merged

Enable Ruff PGH rules #13304

merged 1 commit into from
Dec 26, 2024

Conversation

Avasam
Copy link
Collaborator

@Avasam Avasam commented Dec 26, 2024

Ref #13295
https://docs.astral.sh/ruff/rules/#pygrep-hooks-pgh
This mainly enables blanket type-ignore and noqa checks in Ruff

Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

Copy link
Member

@AlexWaygood AlexWaygood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! I think these are pretty uncontroversial

@AlexWaygood AlexWaygood changed the title Enable Ruff PGH Enable Ruff PGH rules Dec 26, 2024
@AlexWaygood AlexWaygood merged commit dde13fb into python:main Dec 26, 2024
53 checks passed
@Avasam Avasam deleted the ruff-PGH branch December 26, 2024 22:29
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.

3 participants