mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-11 10:00:58 +00:00
Add target to run the Python pep8 utility
This commit is contained in:
parent
88e5da565a
commit
17bfd6d9b6
1 changed files with 6 additions and 0 deletions
6
Makefile
6
Makefile
|
|
@ -14,6 +14,8 @@ PAGER ?= less
|
|||
# build dir for debian package
|
||||
BUILDDIR:=/home/calvin/packages/official
|
||||
DEB_ORIG_TARGET:=$(BUILDDIR)/linkchecker_$(VERSION).orig.tar.gz
|
||||
# options to run the pep8 utility
|
||||
PEP8OPTS:=--repeat --ignore=E211,E501 --exclude=dns
|
||||
|
||||
|
||||
.PHONY: all
|
||||
|
|
@ -135,6 +137,10 @@ pyflakes:
|
|||
grep -v "undefined name '_'" | \
|
||||
grep -v "undefined name '_n'" | cat
|
||||
|
||||
.PHONY: pep8
|
||||
pep8:
|
||||
pep8 $(PEP8OPTS) $(PY_FILES_DIRS)
|
||||
|
||||
.PHONY: reindent
|
||||
reindent:
|
||||
$(PYTHON) config/reindent.py -r -v linkcheck
|
||||
|
|
|
|||
Loading…
Reference in a new issue