From d0c1c5dd27fcc57b64cc541bf8ccb2c3d42eaf7a Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Mon, 14 Feb 2011 20:28:49 +0100 Subject: [PATCH] Check docstrings. --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9e88a6aa..4f15e893 100644 --- a/Makefile +++ b/Makefile @@ -114,8 +114,14 @@ check: check-pofiles -v py-tabdaddy py-unittest2-compat tests/ + $(MAKE) doccheck $(MAKE) pyflakes +doccheck: + py-check-docstrings --force linkcheck/HtmlParser linkcheck/checker \ + linkcheck/cache linkcheck/configuration linkcheck/director \ + linkcheck/htmlutil linkcheck/logger linkcheck/network *.py + filescheck: -./linkchecker $(LCOPTS) http://$(HOST)/ @@ -144,7 +150,7 @@ test: localbuild .PHONY: pyflakes pyflakes: - pyflakes $(PY_FILES_DIRS) 2>&1 | \ + pyflakes --force $(PY_FILES_DIRS) 2>&1 | \ grep -v "redefinition of unused 'linkcheck'" | \ grep -v "undefined name '_'" | \ grep -v "undefined name '_n'" | cat