forked from velmafia/cppclean
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
50 lines (44 loc) · 1.24 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
40
41
42
43
44
45
46
47
48
49
50
default: check test
check:
pylint \
--reports=no \
--rcfile=/dev/null \
--dummy-variables-rgx='^_+$$' \
--disable=bad-continuation \
--disable=duplicate-code \
--disable=fixme \
--disable=invalid-name \
--disable=missing-docstring \
--disable=no-else-return \
--disable=no-self-use \
--disable=too-many-arguments \
--disable=raising-bad-type \
--disable=redefined-variable-type \
--disable=simplifiable-if-statement \
--disable=too-few-public-methods \
--disable=too-many-locals \
--disable=too-many-return-statements \
--disable=too-many-instance-attributes \
--disable=too-many-public-methods \
--disable=too-many-branches \
--disable=too-many-lines \
--disable=too-many-statements \
--disable=undefined-loop-variable \
--disable=unused-argument \
cpp cppclean setup.py
pycodestyle cpp $(wildcard *.py)
check-manifest
python setup.py --long-description | rstcheck -
coverage:
@coverage erase
@PYTHON='coverage run --branch --parallel-mode' ./test.bash
@coverage combine
@coverage report
open_coverage: coverage
@coverage html
@python -m webbrowser -n "file://${PWD}/htmlcov/index.html"
readme:
@restview --long-description --strict
test:
./test.bash
.PHONY: check coverage open_coverage readme test