summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2016-03-03 12:20:48 -0500
committerScott Moser <smoser@ubuntu.com>2016-03-03 12:20:48 -0500
commitc496b6a11d504ef62371cb5e03ac80b4ceb37540 (patch)
tree086cf1486afe43ed385edc635593e3ec8957d534 /Makefile
parent97efb9d48197d7098f1abe2ee519418afbe6aec5 (diff)
downloadvyos-cloud-init-c496b6a11d504ef62371cb5e03ac80b4ceb37540.tar.gz
vyos-cloud-init-c496b6a11d504ef62371cb5e03ac80b4ceb37540.zip
run pyflakes in more places, fix fallout
this makes 'make' run pyflakes, so failures there will stop a build. also adds it to tox.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index bb0c5253..8987d51c 100644
--- a/Makefile
+++ b/Makefile
@@ -14,13 +14,15 @@ ifeq ($(distro),)
distro = redhat
endif
-all: test check_version
+all: check
+
+check: test check_version pyflakes
pep8:
@$(CWD)/tools/run-pep8 $(PY_FILES)
pyflakes:
- @$(CWD)/tools/tox-venv py34 pyflakes $(PY_FILES)
+ @pyflakes $(PY_FILES)
pip-requirements:
@echo "Installing cloud-init dependencies..."