-
Notifications
You must be signed in to change notification settings - Fork 10
/
tox.ini
26 lines (20 loc) · 647 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
[tox]
envlist = clean, py36, py37, py38, py39, stats, lint, docs
[testenv]
commands = python setup.py test {posargs}
deps = .[test, jupyter, analysis]
[testenv:clean]
commands = coverage erase
[testenv:stats]
commands = coverage report -m --rcfile={toxinidir}/.coveragerc
[testenv:stats_xml]
# Used in CI for generating xml for codecov
commands = coverage xml --rcfile={toxinidir}/.coveragerc
[testenv:lint]
deps = .[test, docs, jupyter, analysis]
commands = pre-commit run --all-files
[testenv:docs]
basepython = python
changedir = docs
deps = .[docs, analysis]
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html