summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorharlowja <harlowja@virtualbox.rhel>2012-06-23 14:59:16 -0700
committerharlowja <harlowja@virtualbox.rhel>2012-06-23 14:59:16 -0700
commit67232af3cba2c7bc99c2ca67b83470b38d6db103 (patch)
tree74dbbaeafc103ff6449a0d61705c644fa6a2d838 /Makefile
parent9d1f042f862c114f1613dcd5d2d8c401a1c54eaa (diff)
downloadvyos-cloud-init-67232af3cba2c7bc99c2ca67b83470b38d6db103.tar.gz
vyos-cloud-init-67232af3cba2c7bc99c2ca67b83470b38d6db103.zip
1. Separate the pep8 check from the pylint check
a. This allows them to be run as different tools (if desired) 2. Adjust the makefile to have a 'make pep8' section which can run this new script
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ab23bf1f..c20dfbd3 100644
--- a/Makefile
+++ b/Makefile
@@ -4,6 +4,9 @@ PY_FILES+="bin/cloud-init"
all: test
+pep8:
+ $(CWD)/tools/run-pep8 $(PY_FILES)
+
pylint:
$(CWD)/tools/run-pylint $(PY_FILES)
@@ -20,5 +23,5 @@ clean:
rm -rf /var/log/cloud-init.log \
/var/lib/cloud/
-.PHONY: test pylint pyflakes 2to3 clean
+.PHONY: test pylint pyflakes 2to3 clean pep8