Debian Codegraph @

tox.ini

raw symbols SCIP
1 [tox]
2 envlist = py35,py36,py37,py38,flake8,coverage,docs
3
4 [flake8]
5 max-line-length = 120
6
7 [testenv]
8 skip_install=true
9 setenv =
10 COVERAGE_FILE={toxinidir}/.coverage.{envname}
11 commands =
12 pip install -e .[test]
13 coverage run {envbindir}/py.test []
14 deps =
15 coverage
16
17 [testenv:flake8]
18 basepython = python3.8
19 commands =
20 flake8 panoramisk examples
21 deps =
22 flake8
23
24 [testenv:coverage]
25 basepython = python3.8
26 skip_install=false
27 skipsdist=true
28 deps =
29 coverage
30 setenv =
31 COVERAGE_FILE={toxinidir}/.coverage
32 commands =
33 coverage erase
34 coverage combine
35 coverage report --show-missing
36
37 [testenv:docs]
38 skip_install=false
39 skipsdist=true
40 basepython = python3.8
41 changedir = docs
42 whitelist_externals =
43 rm
44 deps =
45 sphinx
46 Pygments
47 commands =
48 rm -Rf {envtmpdir}/doctrees {envtmpdir}/html
49 sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
50