[tox] requires = tox>=4.19 env_list = unit-py3{9-13} integration-py3{9-13}-pytest8 lint format [testenv] deps = . [testenv:lint] description = run type check on code base labels = static deps = mypy commands = mypy src tests --junit-xml test-reports/{env_name}.xml [testenv:audit] description = run type check on code base labels = audit deps = pip-audit commands = pip-audit . [testenv:format] description = run type check on code base labels = static deps = autopep8 commands = autopep8 --diff --exit-code src tests [testenv:unit-py3{9-13}] description = run type check on code base labels = unit deps = {[testenv]deps} pytest commands = pytest tests/unit --junitxml=test-reports/{env_name}.xml [testenv:integration-py3{9-13}-pytest8] description = run pytest integration tests labels = integration deps = {[testenv]deps} pytest8: pytest>=8.0,<=9.0 commands = pytest tests/integration -m pytest --junitxml=test-reports/{env_name}.xml