summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@yahoo-inc.com>2012-06-15 17:42:05 -0700
committerJoshua Harlow <harlowja@yahoo-inc.com>2012-06-15 17:42:05 -0700
commita6f387756d74e0542f2247de8cab617043297ced (patch)
treed90bb79aacd3df8ea2584718f76ec5f28e96fd54 /Makefile
parent19f5aa0f4bb449a826a0e6a96f318dba4d814443 (diff)
downloadvyos-cloud-init-a6f387756d74e0542f2247de8cab617043297ced.tar.gz
vyos-cloud-init-a6f387756d74e0542f2247de8cab617043297ced.zip
Updated so that pylint and pyflakes will now run over cloudinit/ and bin/ python files
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 0fc6c46b..0a73f987 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,13 @@
+CWD=$(shell pwd)
+PY_FILES=$(shell find cloudinit bin -name "*.py")
all: test
pylint:
- pylint cloudinit
+ $(CWD)/tools/run-pylint $(PY_FILES)
pyflakes:
- pyflakes .
+ pyflakes $(PY_FILES)
test:
nosetests tests/unittests/