Skip to content
This repository was archived by the owner on Dec 7, 2021. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 20 additions & 14 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,40 +12,46 @@ setenv =
LC_ALL=en_US.utf-8
ARGS="-V"
deps = git+https://github.com/Qiskit/qiskit-terra
git+https://github.com/Qiskit/qiskit-aer
git+https://github.com/Qiskit/qiskit-ignis
-r{toxinidir}/requirements-dev.txt
git+https://github.com/Qiskit/qiskit-aer
git+https://github.com/Qiskit/qiskit-ibmq-provider
commands =
pip install -c constraints.txt -r{toxinidir}/requirements-dev.txt
stestr run {posargs}

[testenv:lint]
basepython = python3
deps = pyenchant
git+https://github.com/Qiskit/qiskit-terra
git+https://github.com/Qiskit/qiskit-aer
deps = git+https://github.com/Qiskit/qiskit-terra
git+https://github.com/Qiskit/qiskit-ignis
-r{toxinidir}/requirements-dev.txt
git+https://github.com/Qiskit/qiskit-aer
git+https://github.com/Qiskit/qiskit-ibmq-provider
commands =
pycodestyle --max-line-length=100 --exclude=gauopen qiskit/ml qiskit/aqua qiskit/chemistry qiskit/finance qiskit/optimization test tools
pylint -rn --ignore=gauopen qiskit/ml qiskit/aqua qiskit/chemistry qiskit/finance qiskit/optimization test tools
pip install -c constraints.txt -r{toxinidir}/requirements-dev.txt
pycodestyle --max-line-length=100 --exclude=gauopen qiskit/aqua qiskit/chemistry qiskit/finance qiskit/ml qiskit/optimization test tools
pylint -rn --ignore=gauopen qiskit/aqua qiskit/chemistry qiskit/finance qiskit/ml qiskit/optimization test tools
python3 {toxinidir}/tools/check_copyright_year.py

[testenv:coverage]
basepython = python3
setenv =
{[testenv]setenv}
PYTHON=coverage3 run --source qiskit/aqua,qiskit/chemistry,qiskit/finance,qiskit/ml,qiskit/optimization --omit */gauopen/* --parallel-mode
deps = git+https://github.com/Qiskit/qiskit-terra
git+https://github.com/Qiskit/qiskit-ignis
git+https://github.com/Qiskit/qiskit-aer
git+https://github.com/Qiskit/qiskit-ibmq-provider
commands =
pip install -c constraints.txt -r{toxinidir}/requirements-dev.txt
stestr run {posargs}
coverage3 combine
coverage3 report

[testenv:docs]
basepython = python3
deps =
git+https://github.com/Qiskit/qiskit-terra
git+https://github.com/Qiskit/qiskit-aer
git+https://github.com/Qiskit/qiskit-ignis
-r{toxinidir}/requirements-dev.txt

deps = git+https://github.com/Qiskit/qiskit-terra
git+https://github.com/Qiskit/qiskit-ignis
git+https://github.com/Qiskit/qiskit-aer
git+https://github.com/Qiskit/qiskit-ibmq-provider
commands =
pip install -c constraints.txt -r{toxinidir}/requirements-dev.txt
sphinx-build -b html -W {posargs} docs/ docs/_build/html