Skip to content

Enable Ruff PGH rules#13304

Merged
AlexWaygood merged 1 commit intopython:mainfrom
Avasam:ruff-PGH
Dec 26, 2024
Merged

Enable Ruff PGH rules#13304
AlexWaygood merged 1 commit intopython:mainfrom
Avasam:ruff-PGH

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

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