-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
Check the whitespace of pull requests on Travis #2367
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
Conversation
Since this will block PRs from being submitted if I get this wrong I won't be merging it until someone can provide me an approving review. |
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.
One minor suggestion regarding the failure message, but the actual check looks good to me.
if not fixed: | ||
print('No whitespace issues found') | ||
else: | ||
print(f'Please fix the {len(fixed)} file(s) with whitespace issues') |
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.
Perhaps specifically mention make patchcheck
here? It won't help Windows devs, but it's the easiest option elsewhere.
(cherry picked from commit 70cb187)
(cherry picked from commit 70cb187)
GH-2386 is a backport of this pull request to the 3.6 branch. |
GH-2387 is a backport of this pull request to the 3.5 branch. |
Thanks @brettcannon for the PR 🌮🎉.. I'm working now to backport this PR to: 2.7. |
Sorry, @brettcannon, I could not cleanly backport this to |
Closes python/core-workflow#3.