Updated so that pylint and pyflakes will now run over cloudinit/ and bin/ python files

This commit is contained in:
Joshua Harlow
2012-06-15 17:42:05 -07:00
parent 28301fc16c
commit 1218acfd41

View File

@@ -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/