-
Notifications
You must be signed in to change notification settings - Fork 16
/
tox.ini
62 lines (55 loc) · 1.28 KB
/
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
[tox]
minversion = 3.15
envlist = py38, py39, lint, docs
skipsdist = True
[testenv]
usedevelop = true
install_command = pip install -U {opts} {packages}
passenv =
QISKIT_IBM_*
TEST_TIMEOUT
QE_USE_TESTTOOLS
setenv =
VIRTUAL_ENV={envdir}
LANGUAGE=en_7US
LC_ALL=en_US.utf-8
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/requirements-dev.txt
commands =
pip install -U git+https://github.com/Qiskit/qiskit-experiments
stestr run {posargs}
[testenv:lint]
envdir = .tox/lint
commands =
black --check {posargs} qiskit_ibm_experiment test setup.py
pylint -rn -j 0 --rcfile={toxinidir}/.pylintrc qiskit_ibm_experiment/ test/
[testenv:asv]
deps =
asv
virtualenv
commands =
asv run {posargs}
[testenv:docs]
envdir = .tox/docs
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/requirements-dev.txt
commands =
sphinx-build -j auto -b html {posargs} {toxinidir}/docs {toxinidir}/docs/_build/html
[testenv:docs-clean]
skip_install = true
deps =
allowlist_externals = rm
commands = rm -rf {toxinidir}/docs/stubs/ {toxinidir}/docs/_build
[testenv:gettext]
envdir = .tox/docs
basepython = python3
deps =
-r requirements-dev.txt
qiskit-aer
commands =
sphinx-build -W -b gettext docs/ docs/_build/gettext {posargs}
[doc8]
max-line-length=100
ignore-path=docs/_build