-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtox.ini
36 lines (34 loc) · 938 Bytes
/
tox.ini
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
32
33
34
35
36
# The test environment and commands
[tox]
# default environments to run without `-e`
envlist = py{39,310,311,312,313}-{flake8_6,flake8_7},noflake8
# create a default testenv, whose behaviour will depend on the name it's called with.
# for CI you can call with `-e flake8_6,flake8_7` and let the CI handle python version
[testenv]
description = Runs pytest, optionally with posargs
deps =
flake8_7: flake8>=7.0
flake8_6: flake8>=6.0, <7.0
pytest
pytest-cov # to make it easy to pass --no-cov
coverage
coverage-conditional-plugin
pytest-xdist
hypothesis
# 0.3.3 adds py313 support
hypothesmith >= 0.3.3
trio
commands =
coverage run -m pytest {posargs:-n auto}
[testenv:docs]
description = Generate docs locally
deps =
sphinx
readthedocs-sphinx-ext
-r docs/requirements.txt
allowlist_externals = make
changedir = docs
skip_install = True
commands =
make clean
make html