Rework make lint target to use pep8 pyflakes3 targets
This commit is contained in:
parent
f8745a1cc3
commit
618142f132
9
Makefile
9
Makefile
|
@ -35,17 +35,12 @@ ui-view:
|
||||||
ui-view-serial:
|
ui-view-serial:
|
||||||
(TERM=att4424 bin/$(PYTHONSRC)-tui $(DRYRUN) --serial)
|
(TERM=att4424 bin/$(PYTHONSRC)-tui $(DRYRUN) --serial)
|
||||||
|
|
||||||
lint:
|
lint: pep8 pyflakes3
|
||||||
echo "Running flake8 lint tests..."
|
|
||||||
python3 /usr/bin/flake8 bin/$(PYTHONSRC)-tui --ignore=F403
|
|
||||||
python3 /usr/bin/flake8 --exclude $(PYTHONSRC)/tests/ $(PYTHONSRC) --ignore=F403
|
|
||||||
|
|
||||||
pep8:
|
pep8:
|
||||||
echo "Running $Q tests..."
|
|
||||||
@$(CWD)/scripts/run-pep8
|
@$(CWD)/scripts/run-pep8
|
||||||
|
|
||||||
pyflakes3:
|
pyflakes3:
|
||||||
echo "Running $Q tests..."
|
|
||||||
@$(CWD)/scripts/run-pyflakes3
|
@$(CWD)/scripts/run-pyflakes3
|
||||||
|
|
||||||
unit:
|
unit:
|
||||||
|
@ -62,3 +57,5 @@ probert:
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
./debian/rules clean
|
./debian/rules clean
|
||||||
|
|
||||||
|
.PHONY: lint pyflakes3 pep8
|
||||||
|
|
Loading…
Reference in New Issue