[tox] minversion = 3.5.3 envlist = py{37,38,39,310}, norewrite [testenv] passenv = USER USERNAME deps = coverage mock pytest-asyncio commands = coverage run --append --source={envsitepackagesdir}/pytest_mock -m pytest tests [testenv:norewrite] commands = pytest tests --assert=plain [pytest] addopts = -r a asyncio_mode = auto [flake8] max-line-length = 88 [testenv:docs] usedevelop = True deps = -r docs/requirements.txt commands = sphinx-build -W --keep-going -b html docs docs/_build/html {posargs:}