Skip to content
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

[3.11] GH-109408: Move the C file whitespace check from patchcheck to pre-commit (GH-109890) #110640

Closed
wants to merge 3 commits into from

Conversation

AA-Turner
Copy link
Member

@AA-Turner AA-Turner commented Oct 10, 2023

(cherry picked from commit f5edb56)

…eck to pre-commit (pythonGH-109890)

Co-authored-by: Hugo van Kemenade <[email protected]>.
(cherry picked from commit f5edb56)

Co-authored-by: Adam Turner <[email protected]>
@AA-Turner
Copy link
Member Author

To be merged following #110641.

A

@AA-Turner
Copy link
Member Author

Both this PR and #110641 are failing due to valid lint failures -- (in Tools/c-analyzer/cpython/_capi.py and Modules/_ctypes/darwin/dlfcn.h). We could add exclusions for these files, or perhaps just not backport? Unsure how best to proceed.

A

@AlexWaygood
Copy link
Member

AlexWaygood commented Oct 10, 2023

Both this PR and #110641 are failing due to valid lint failures -- (in Tools/c-analyzer/cpython/_capi.py and Modules/_ctypes/darwin/dlfcn.h). We could add exclusions for these files, or perhaps just not backport? Unsure how best to proceed.

A

Adding excludes (or fixing the failures) seems like a good idea to me. It's useful to keep CI stuff in sync for all the maintenance branches.

Having said that, if there's loads of stuff that needs changing, I wouldn't bother -- it's not the end of the world if it's not backported!

@AlexWaygood
Copy link
Member

Thanks! Closing for now, though, since the PR to main was reverted

@AA-Turner AA-Turner deleted the backport-f5edb56-3.11 branch January 13, 2024 20:28
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