2
APPURL=http://launchpad.net/xdiagnose
10
find . -name '*.pyc' -print0 | xargs -0 rm -f
11
find . -name '*~' -print0 | xargs -0 rm -f
13
# Check for common & easily catchable Python mistakes.
17
# Check for coding standard violations.
19
find . -name '*.py' -print0 | xargs -0 pep8 --ignore E221,E222
20
find . -name '*.py' -print0 | xargs -0 pep8 --ignore E221,E222 --repeat | wc -l
23
pydoctor --add-package $(APPNAME) \
24
--make-html --html-output=doc/api \
25
--project-name=$(APPNAME) \
26
--project-url=$(APPURL)
30
.PHONY: check lint pyflakes pep8 apidocs clean
32
# Ignore pyflakes exit code so pep8 will run for 'make lint'