diff options
author | David Pursehouse <david.pursehouse@sonymobile.com> | 2013-08-06 09:58:13 +0900 |
---|---|---|
committer | David Pursehouse <david.pursehouse@sonymobile.com> | 2013-08-06 10:15:55 +0900 |
commit | 79354479323ab65dbf73b86d6399118e54a070c2 (patch) | |
tree | 9960409e8542280cf5bcd3c06e1f891920498844 | |
parent | a22028527f6eba92d2fb02a164d78d74476d6930 (diff) | |
download | pygerrit-79354479323ab65dbf73b86d6399118e54a070c2.tar.gz |
Add PEP-8 conformance check in the Makefile
Change-Id: I3b4689d7d459d739ff3c9d9c8d801effa2b7a48f
-rw-r--r-- | Makefile | 7 | ||||
-rw-r--r-- | requirements.txt | 1 |
2 files changed, 7 insertions, 1 deletions
@@ -22,7 +22,12 @@ all: test -test: unittests pyflakes +test: unittests pyflakes pep8 + +pep8: envsetup + bash -c "\ + source ./pygerritenv/bin/activate && \ + git ls-files | grep \"\.py$$\" | xargs pep8 --max-line-length 80" pyflakes: envsetup bash -c "\ diff --git a/requirements.txt b/requirements.txt index 11c330f..0808e8d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ paramiko==1.7.6 +pep8==1.4.6 pycrypto==2.0.1 pyflakes==0.4.0 |