mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-02 14:10:24 +00:00
Check docstrings.
This commit is contained in:
parent
0589933b97
commit
d0c1c5dd27
1 changed files with 7 additions and 1 deletions
8
Makefile
8
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue