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

Check the whitespace of pull requests on Travis #2367

Merged
merged 8 commits into from Jun 24, 2017

Conversation

@brettcannon
Copy link
Member

brettcannon commented Jun 23, 2017

@brettcannon brettcannon self-assigned this Jun 23, 2017
@brettcannon brettcannon requested a review from ncoghlan Jun 23, 2017
@brettcannon

This comment has been minimized.

Copy link
Member Author

brettcannon commented Jun 23, 2017

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.

Copy link
Contributor

ncoghlan left a comment

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')

This comment has been minimized.

Copy link
@ncoghlan

ncoghlan Jun 24, 2017

Contributor

Perhaps specifically mention make patchcheck here? It won't help Windows devs, but it's the easiest option elsewhere.

@brettcannon brettcannon merged commit 70cb187 into python:master Jun 24, 2017
3 checks passed
3 checks passed
bedevere/issue-number No issue number necessary.
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@brettcannon brettcannon deleted the brettcannon:check-whitespace branch Jun 24, 2017
brettcannon added a commit to brettcannon/cpython that referenced this pull request Jun 24, 2017
brettcannon added a commit to brettcannon/cpython that referenced this pull request Jun 24, 2017
@bedevere-bot

This comment has been minimized.

Copy link

bedevere-bot commented Jun 24, 2017

GH-2386 is a backport of this pull request to the 3.6 branch.

@bedevere-bot

This comment has been minimized.

Copy link

bedevere-bot commented Jun 24, 2017

GH-2387 is a backport of this pull request to the 3.5 branch.

brettcannon added a commit that referenced this pull request Jun 25, 2017
)

(cherry picked from commit 70cb187)
brettcannon added a commit that referenced this pull request Jun 25, 2017
)

(cherry picked from commit 70cb187)
@miss-islington

This comment has been minimized.

Copy link

miss-islington commented Sep 13, 2017

Thanks @brettcannon for the PR 🌮🎉.. I'm working now to backport this PR to: 2.7.
🐍🍒🤖

@miss-islington

This comment has been minimized.

Copy link

miss-islington commented Sep 13, 2017

Sorry, @brettcannon, I could not cleanly backport this to 2.7 due to a conflict.
Please backport using cherry_picker on command line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants
You can’t perform that action at this time.