30 lines
541 B
INI
30 lines
541 B
INI
[tox]
|
|
minversion = 3.5.3
|
|
envlist = py{38,39,310,311,312}, norewrite
|
|
|
|
[testenv]
|
|
deps =
|
|
coverage
|
|
mock
|
|
pytest-asyncio
|
|
commands =
|
|
coverage run --append --source={envsitepackagesdir}/pytest_mock -m pytest tests --color=yes
|
|
|
|
[testenv:norewrite]
|
|
commands =
|
|
pytest tests --assert=plain --color=yes
|
|
|
|
[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:}
|