pytest-mock/tox.ini
2023-07-05 14:29:02 +02:00

30 lines
516 B
INI

[tox]
minversion = 3.5.3
envlist = py{37,38,39,310,311}, norewrite
[testenv]
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:}