-
Notifications
You must be signed in to change notification settings - Fork 26
/
tox.ini
26 lines (22 loc) · 616 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
[tox]
minversion = 4.14.0
envlist = pytest, pylint
[testenv:pytest]
description = run pytests and make coverage report
basepython = python3.10
deps = -rrequirements_ci.txt
commands =
pytest --cov-report term-missing --cov=oqupy ./tests/{posargs}
python -m coverage xml
[testenv:pylint]
description = check code style with pylint
basepython = python3.10
deps = -rrequirements_ci.txt
commands =
pylint ./oqupy/{posargs}
[testenv:docs]
description = invoke sphinx-build to build the HTML docs
basepython = python3.10
deps = -rrequirements_ci.txt
commands =
sphinx-build -M html ./docs ./docs/_build