-
Notifications
You must be signed in to change notification settings - Fork 6
/
Makefile
54 lines (44 loc) · 864 Bytes
/
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
51
52
53
54
lint:
python -m isort .
python -m black .
python -m pylint scrapli_netconf/
python -m pydocstyle .
python -m mypy --strict scrapli_netconf/
darglint:
find scrapli_netconf -type f \( -iname "*.py"\ ) | xargs darglint -x
test:
python -m pytest \
tests/
cov:
python -m pytest \
--cov=scrapli_netconf \
--cov-report html \
--cov-report term \
tests/
test_unit:
python -m pytest \
tests/unit/
cov_unit:
python -m pytest \
--cov=scrapli_netconf \
--cov-report html \
--cov-report term \
tests/unit/
test_functional:
python -m pytest \
tests/functional/
cov_functional:
python -m pytest \
--cov=scrapli_netconf \
--cov-report html \
--cov-report term \
tests/functional/
.PHONY: docs
docs:
python docs/generate.py
test_docs:
mkdocs build --clean --strict
htmltest -c docs/htmltest.yml -s
rm -rf tmp
deploy_docs:
mkdocs gh-deploy