Add target to run the Python pep8 utility

This commit is contained in:
Bastian Kleineidam 2009-11-13 20:42:53 +01:00
parent 88e5da565a
commit 17bfd6d9b6

View file

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