Skip to content

Conversation

@dhermes
Copy link
Contributor

@dhermes dhermes commented Jan 6, 2016

Two chief changes

  • Moving run_pylint and pylintrc_default into the scripts/ directory (along with all other scripts used by tox)
  • Swapping pep8_on_repo.sh for pep8_on_repo.py to avoid using bash. (We require a script --Python or bash -- since we only run pep8 on files that are checked in to the repo by using git ls-files. Prior to this change, spurious Python files would cause tox -e lint to fail.)

@tseaver I decided to do this partially because of fix-ups for #714 and partially for #1123.

We require a script (Python or bash) since we only run
pep8 on files that are checked in to the repo by using
`git ls-files`. (Prior to this change, spurious Python files
would cause `tox -e lint` to fail.)
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jan 6, 2016

This comment was marked as spam.

This comment was marked as spam.

@tseaver
Copy link
Contributor

tseaver commented Jan 7, 2016

LGTM

dhermes added a commit that referenced this pull request Jan 7, 2016
@dhermes dhermes merged commit 22642cd into googleapis:master Jan 7, 2016
@dhermes dhermes deleted the updating-lint-tox-rule branch January 7, 2016 22:49
dhermes added a commit to dhermes/google-cloud-python that referenced this pull request Jan 8, 2016
Also making pep8_on_repo exit with the correct
status code. This was a bug introduced in googleapis#1348.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement. testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants