[tox] minversion = 3.6 envlist = py38, py39, py310, py311, lint, coverage skipsdist = False [testenv] usedevelop = true install_command = pip install -U {opts} {packages} setenv = VIRTUAL_ENV={envdir} LANGUAGE=en_US LC_ALL=en_US.utf-8 deps = -r requirements.txt -r requirements-dev.txt commands = pip check python -m unittest discover -s test/ -p '*test*.py' -v [testenv:lint] sitepackages = False commands = black --version black --check --diff src/qiskit_qec intern test setup.py pylint -ry src/qiskit_qec test [testenv:coverage] basepython = python3 setenv = {[testenv]setenv} commands = coverage3 run -m unittest discover test coverage3 report --fail-under=55 [testenv:docs] deps = -r{toxinidir}/requirements-dev.txt jax jaxlib commands = sphinx-build -b html -W -T --keep-going {posargs} docs/ docs/_build/html