Rework make lint target to use pep8 pyflakes3 targets

This commit is contained in:
Ryan Harper 2018-05-24 14:33:25 -05:00
parent f8745a1cc3
commit 618142f132
1 changed files with 3 additions and 6 deletions

View File

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