quantum-serverless/tests/tox.ini

33 lines
645 B
INI

[tox]
minversion = 2.1
envlist = py311
# CI: skip-next-line
skipsdist = true
# CI: skip-next-line
skip_missing_interpreters = true
[testenv]
# CI: skip-next-line
usedevelop = true
install_command =
pip install -U {opts} {packages}
setenv =
VIRTUAL_ENV={envdir}
LANGUAGE=en_US
LC_ALL=en_US.utf-8
PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python
deps = -rrequirements-dev.txt
commands =
pip install ../client
pip check
python -m pytest -v --order-dependencies
[testenv:lint]
skip_install = true
commands =
black --diff --check .
pylint -rn docker/test_* docker/conftest.py
[testenv:black]
skip_install = true
commands = black .