-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
43 lines (37 loc) · 827 Bytes
/
tox.ini
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
[tox]
envlist =
; pyroma
; flake8
py
docs
[testenv]
commands =
pytest tests/
deps =
pytest
whitelist_externals =
/bin/cat
/bin/cp
/bin/mkdir
;[testenv:pyroma]
;deps =
; pyroma
;commands =
; pyroma .
;skip_install = true
;description = Run the pyroma tool to check the package friendliness of the project.
;[testenv:flake8]
;skip_install = true
;deps =
; flake8
[testenv:docs]
changedir = docs
extras =
docs
commands =
mkdir -p {envtmpdir}
cp -r source {envtmpdir}/source
sphinx-build -W -b html -d {envtmpdir}/build/doctrees {envtmpdir}/source {envtmpdir}/build/html
sphinx-build -W -b coverage -d {envtmpdir}/build/doctrees {envtmpdir}/source {envtmpdir}/build/coverage
cat {envtmpdir}/build/coverage/c.txt
cat {envtmpdir}/build/coverage/python.txt