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
Run Tools/scripts/reindent.py #94225
Conversation
Reindent files which were not properly formatted (PEP 8: 4 spaces). Remove also some trailing spaces. Leave Lib/test/coding20731.py and Tools/c-analyzer/ unchanged.
I added labels to backport the changes to reduce the risk of conflicts when backporting other changes. And also to avoid "make patchcheck" issues on backports. |
I ran the following command to prepare this change:
As I wrote, I reverted changes of Lib/test/coding20731.py and in Tools/c-analyzer/. |
I wrote this PR because sometimes I got strange "make patchcheck" errors on the Ubuntu job of Azure Pipelines. |
In iomenu.py, I am condensing the 4 lines above to 1 in #94228 and am removing the tab in that PR. |
Ok, thanks. |
Oh sadly, the test_enum change was wrong. enum does generate a trailing tab. |
In |
I mean that enum should not create such tab :-) If someone else wants to change test_enum in a separated PR, please go ahead ;-) |
I wrote this PR for socket.py ;-) |
Fair enough; that's more on |
Thanks @vstinner for the PR |
Reindent files which were not properly formatted (PEP 8: 4 spaces). Remove also some trailing spaces. (cherry picked from commit e87ada4) Co-authored-by: Victor Stinner <vstinner@python.org>
Sorry, @vstinner, I could not cleanly backport this to |
GH-94290 is a backport of this pull request to the 3.11 branch. |
GH-94291 is a backport of this pull request to the 3.10 branch. |
Merged, thanks for reviews! |
Reindent files which were not properly formatted (PEP 8: 4 spaces). Remove also some trailing spaces. (cherry picked from commit e87ada4) Co-authored-by: Victor Stinner <vstinner@python.org>
Reindent files which were not properly formatted (PEP 8: 4 spaces).
Remove also some trailing spaces.
Leave Lib/test/coding20731.py and Tools/c-analyzer/ unchanged.