diff options
| author | David Pursehouse <david.pursehouse@sonymobile.com> | 2013-08-06 12:39:02 +0900 |
|---|---|---|
| committer | David Pursehouse <david.pursehouse@sonymobile.com> | 2013-08-06 15:25:57 +0900 |
| commit | 5eaff32cedf72647636e23436dde660d6323943c (patch) | |
| tree | cc39e2f4ab3fc7cb222148e5326a16105f42eda4 /Makefile | |
| parent | 0a55fe5aa34434e8dc49ddacd050343573c74cb4 (diff) | |
| download | pygerrit-5eaff32cedf72647636e23436dde660d6323943c.tar.gz | |
Add PEP-257 conformance check in the Makefile
Note: the latest version of PEP-257 is 0.2.2 but the latest available
on PyPI is 0.2.0 which does not exit with error if the check fails.
The dependency should be updated after the latest version has been
published.
Change-Id: Iae3bfeab685d9f92af528156cbc8c957a98f5adb
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -22,7 +22,12 @@ all: test -test: clean unittests pyflakes pep8 +test: clean unittests pyflakes pep8 pep257 + +pep257: envsetup + bash -c "\ + source ./pygerritenv/bin/activate && \ + git ls-files | grep \"\.py$$\" | xargs pep257" pep8: envsetup bash -c "\ |
