From 618142f132bdfd1a88f7cd9ddfb5365f3c27548d Mon Sep 17 00:00:00 2001 From: Ryan Harper Date: Thu, 24 May 2018 14:33:25 -0500 Subject: [PATCH] Rework make lint target to use pep8 pyflakes3 targets --- Makefile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index f82a782f..5dc2f2a4 100644 --- a/Makefile +++ b/Makefile @@ -35,17 +35,12 @@ ui-view: ui-view-serial: (TERM=att4424 bin/$(PYTHONSRC)-tui $(DRYRUN) --serial) -lint: - echo "Running flake8 lint tests..." - python3 /usr/bin/flake8 bin/$(PYTHONSRC)-tui --ignore=F403 - python3 /usr/bin/flake8 --exclude $(PYTHONSRC)/tests/ $(PYTHONSRC) --ignore=F403 +lint: pep8 pyflakes3 pep8: - echo "Running $Q tests..." @$(CWD)/scripts/run-pep8 pyflakes3: - echo "Running $Q tests..." @$(CWD)/scripts/run-pyflakes3 unit: @@ -62,3 +57,5 @@ probert: clean: ./debian/rules clean + +.PHONY: lint pyflakes3 pep8