Skip to content

Lint: Use Ruff to format Tools/build/check_warnings.py #133317

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
May 2, 2025

Conversation

AA-Turner
Copy link
Member

Split out from #133123.

A

@AA-Turner AA-Turner changed the title Lint: Use Ruff to format Tools/build/check_warnings.py Lint: Use Ruff to format Tools/build/check_warnings.py May 2, 2025
Comment on lines -27 to -29
[per-file-target-version]
"deepfreeze.py" = "py310"
"stable_abi.py" = "py311" # requires 'tomllib'
Copy link
Member Author

Choose a reason for hiding this comment

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

Moved to the top of the file as currently this is in-between the lint table and a lint subtable

@AA-Turner
Copy link
Member Author

AA-Turner commented May 2, 2025

cc @nohlson as the main author of check_warnings.py. I think the formatting changes here help readability & reduce indendation.

A

@AA-Turner AA-Turner merged commit 49ea8a0 into python:main May 2, 2025
48 checks passed
@AA-Turner AA-Turner deleted the ruff-format-check-warnings branch May 2, 2025 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants