forked from PyCQA/docformatter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
39 lines (35 loc) · 1.02 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
check:
pycodestyle docformatter.py setup.py
pydocstyle docformatter.py setup.py
pylint \
--reports=no \
--disable=bad-continuation \
--disable=fixme \
--disable=invalid-name \
--disable=no-else-return \
--disable=no-member \
--disable=too-many-arguments \
--disable=too-many-boolean-expressions \
--disable=too-many-locals \
--disable=too-many-return-statements \
--rcfile=/dev/null \
docformatter.py setup.py
check-manifest
rstcheck --report=1 README.rst
docformatter docformatter.py setup.py
python -m doctest docformatter.py
scspell docformatter.py setup.py test_docformatter.py README.rst
coverage:
@coverage erase
@DOCFORMATTER_COVERAGE=1 coverage run \
--branch --parallel-mode --omit='*/site-packages/*,*/*pypy/*' \
test_docformatter.py
@coverage combine
@coverage report --show-missing
open_coverage: coverage
@coverage html
@python -m webbrowser -n "file://${PWD}/htmlcov/index.html"
mutant:
@mut.py -t docformatter -u test_docformatter -mc
readme:
@restview --long-description --strict