-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
gh-109408: Revert pre-commit whitespace checks pending portable solution #110726
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
gh-109408: Revert pre-commit whitespace checks pending portable solution #110726
Conversation
Note: I kept the changes to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. N.B. #109890 made some changes to Tools/patchcheck/untabify.py
that haven't been reverted here, but I think they're good changes that we should keep, anyway :)
Thanks @hugovk for the PR, and @AlexWaygood for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12. |
… solution (pythonGH-110726) (cherry picked from commit de956b2) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
GH-110730 is a backport of this pull request to the 3.12 branch. |
@erlend-aasland FYI! |
Thanks! |
Re: #110652, revert PRs #109890 and #109891 because we didn't find a portable solution that works on both macOS and Windows.
I kept a couple of the string formatting (and whitespace) improvements:
(I suggest finding existing pre-commit checks that can do more-or-less the same thing as the patchcheck things. They don't necessarily need to be exactly the same.)