pytest-mock/tox.ini

30 lines
541 B
INI
Raw Normal View History

2016-11-01 20:01:57 +01:00
[tox]
2021-08-31 11:33:03 +02:00
minversion = 3.5.3
2023-11-13 00:36:04 +01:00
envlist = py{38,39,310,311,312}, norewrite
2016-11-01 20:01:57 +01:00
[testenv]
deps =
coverage
2022-07-15 08:47:42 +02:00
mock
2021-08-31 11:33:03 +02:00
pytest-asyncio
2016-11-01 20:01:57 +01:00
commands =
2023-11-13 00:36:04 +01:00
coverage run --append --source={envsitepackagesdir}/pytest_mock -m pytest tests --color=yes
2016-11-01 20:01:57 +01:00
2018-03-05 23:30:36 +01:00
[testenv:norewrite]
commands =
2023-11-13 00:36:04 +01:00
pytest tests --assert=plain --color=yes
2018-03-05 23:30:36 +01:00
2019-08-24 18:33:04 +02:00
[pytest]
2021-08-31 11:33:03 +02:00
addopts = -r a
2022-05-26 23:59:37 +02:00
asyncio_mode = auto
2019-08-24 18:33:04 +02:00
[flake8]
max-line-length = 88
2022-07-15 08:47:42 +02:00
[testenv:docs]
usedevelop = True
deps =
-r docs/requirements.txt
commands =
sphinx-build -W --keep-going -b html docs docs/_build/html {posargs:}