From 67232af3cba2c7bc99c2ca67b83470b38d6db103 Mon Sep 17 00:00:00 2001 From: harlowja Date: Sat, 23 Jun 2012 14:59:16 -0700 Subject: 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 --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.3