8000 tox target to enforce pep8 by dims · Pull Request #97 · kubernetes-client/python · GitHub
[go: up one dir, main page]

Skip to content

tox target to enforce pep8 #97

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

Merged
merged 1 commit into from
Jan 13, 2017

Conversation

dims
Copy link
Collaborator
@dims dims commented Jan 12, 2017

This will help nudge future PR authors to fix style related issues

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jan 12, 2017
@codecov-io
Copy link

Current coverage is 94.52% (diff: 100%)

Merging #97 into master will not change coverage

@@             master        #97   diff @@
==========================================
  Files             9          9          
  Lines           658        658          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits            622        622          
  Misses           36         36          
  Partials          0          0          

Powered by Codecov. Last update c147f66...5c82309


[testenv:update-pep8]
commands =
{toxinidir}/scripts/update-pep8.sh
Copy link
Contributor
@mbohlool mbohlool Jan 12, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On thing that is not clear for me is, do we fail if update-pep8.sh change any file on travis? If we don't we should add verify-pep8.sh the same way we have verify in k8s and call that one.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, if you see the update-pep8.sh, we run "git status" and fail if any files need updates

@mbohlool mbohlool self-assigned this Jan 13, 2017
@mbohlool mbohlool added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jan 13, 2017
@mbohlool mbohlool merged commit 37d20f2 into kubernetes-client:master Jan 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0