-
-
Notifications
You must be signed in to change notification settings - Fork 33.2k
gh-132390: Apply Ruff linting to Tools/build
#132391
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
picnixz
merged 46 commits into
python:main
from
picnixz:lint/ruff/tools-build-fix-132390
Apr 20, 2025
Merged
Changes from 40 commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
9cf54b1
lint `Tools/build/check_extension_modules.py`
picnixz 7ee999a
lint `Tools/build/compute-changes.py`
picnixz c3dd400
lint `Tools/build/deepfreeze.py`
picnixz 766a6dd
lint `Tools/build/freeze_modules.py`
picnixz 2d4f851
lint `Tools/build/generate-build-details.py`
picnixz d95fb61
lint `Tools/build/generate_global_objects.py`
picnixz 6805f4a
lint `Tools/build/generate_levenshtein_examples.py`
picnixz ebd1007
lint `Tools/build/generate_re_casefix.py`
picnixz cadcb03
lint `Tools/build/generate_sbom.py`
picnixz 7965920
lint `Tools/build/generate_sre_constants.py`
picnixz 3bdf24a
lint `Tools/build/generate_stdlib_module_names.py`
picnixz 72e5eed
lint `Tools/build/generate_token.py`
picnixz 23e1f43
lint `Tools/build/parse_html5_entities.py`
picnixz 8b2d4da
lint `Tools/build/regen-configure.sh`
picnixz 8717002
lint `Tools/build/smelly.py`
picnixz 42922db
lint `Tools/build/stable_abi.py`
picnixz 6cf0357
lint `Tools/build/umarshal.py`
picnixz 921cc08
lint `Tools/build/verify_ensurepip_wheels.py`
picnixz 7401104
force explicit Python version for known files
picnixz effe679
minimize implementation diff
picnixz 043805d
minimize implementation diff
picnixz 859bc91
minimize implementation diff
picnixz d0b1df4
minimize implementation diff
picnixz af4a0ea
fixup lint?
picnixz a7d4b02
Revert "fixup lint?"
picnixz 6cfee13
bump ruff version
picnixz b14db8b
deepfreeze.py: address Hugo's review
picnixz 3aaf9cc
remove un-necessary comment
picnixz dd8bfbb
update pre-commit config
picnixz 175b1ee
fixup pattern
picnixz ba937f9
Consolidate E501 ignores
AA-Turner be3afe3
Consolidate E501 ignores
AA-Turner d2d7aa8
Consolidate UP031 ignores
AA-Turner e71dbd4
Consolidate UP031 ignores
AA-Turner c7dd4c4
Revert selected changes
AA-Turner d4c5707
Revert whitespace
AA-Turner 407abef
Ignore F541
AA-Turner 0986b77
Ignore UP038 (not recommended)
AA-Turner 673aca0
Prefer 'encoding' over 'text=True'
AA-Turner ff185a4
Merge branch 'main' into lint/ruff/tools-build-fix-132390
picnixz 561e343
Merge branch 'main' into lint/ruff/tools-build-fix-132390
picnixz 4308c1f
align strings
picnixz eae5215
add new line
picnixz 99a41ef
ignore UP031 for `Tools/build/generate_token.py`
picnixz 26b288a
Merge remote-tracking branch 'upstream/main' into lint/ruff/tools-bui…
picnixz 75a08cf
address review
picnixz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.