forked from qiskit-community/qiskit-quantinuum-provider
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
36 lines (32 loc) · 788 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
[tox]
minversion = 2.1
envlist = py35, py36, py37, py38, lint
skipsdist = True
[testenv]
usedevelop = true
install_command = pip install -c{toxinidir}/constraints.txt -U {opts} {packages}
setenv =
VIRTUAL_ENV={envdir}
LANGUAGE=en_US
LC_ALL=en_US.utf-8
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/requirements-dev.txt
commands =
stestr run {posargs}
[testenv:lint]
basepython = python3
deps =
pycodestyle
pylint
setuptools>=40.1.0
commands =
pycodestyle qiskit/providers/honeywell test/
pylint -rn --rcfile={toxinidir}/.pylintrc qiskit/providers/honeywell test/
[testenv:docs]
basepython = python3
deps =
-r{toxinidir}/requirements-dev.txt
commands =
sphinx-build -b html -W {posargs} docs/ docs/_build/html
[pycodestyle]
max-line-length = 100