-
-
Notifications
You must be signed in to change notification settings - Fork 154
Expand file tree
/
Copy pathtox.ini
More file actions
31 lines (26 loc) · 622 Bytes
/
tox.ini
File metadata and controls
31 lines (26 loc) · 622 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[tox]
minversion = 3.5.3
envlist = py{39,310,311,312,313,314}, norewrite, pytest6
[testenv]
deps =
coverage
# Used for standalone mock support.
mock
pytest-asyncio
pytest6: pytest==6.2.5
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:}