forked from Qiskit/qiskit-metapackage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
52 lines (46 loc) · 975 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[tox]
minversion = 2.1
envlist = py35, py36, py37, pep8
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
commands =
python -m unittest -v
[testenv:lint]
deps =
pycodestyle
pylint
doc8
ipython
commands =
pycodestyle test
pylint -rn --rcfile={toxinidir}/.pylintrc test
doc8 docs
[testenv:asv]
deps =
asv
virtualenv
commands =
asv run {posargs}
[testenv:docs]
envdir = .tox/docs
deps =
-r requirements-dev.txt
sphinx-intl
commands = sphinx-build -b html {toxinidir}/docs {toxinidir}/docs/_build/html {posargs}
[testenv:gettext]
envdir = .tox/docs
deps =
-r requirements-dev.txt
sphinx-intl
commands =
sphinx-build -b gettext docs/ docs/_build/gettext {posargs}
sphinx-intl -c docs/conf.py update -p docs/_build/gettext -l en -d docs/locale
[doc8]
max-line-length=100
ignore-path=docs/_build