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:
|
||||
(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
|
||||
|
|
Loading…
Reference in New Issue