-
-
Notifications
You must be signed in to change notification settings - Fork 292
/
Copy pathtox.ini
36 lines (32 loc) · 753 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
[tox]
# we only test trio on latest python version
envlist = py3{9,10,11,12,13,13-trio}, pep8, pypy3
skip_missing_interpreters = True
[testenv]
usedevelop = True
sitepackages = False
deps =
.[test]
.[doc]
trio: trio
commands =
py3{8,9,10,11,12,13},pypy3: pytest {posargs}
py3{8,9,10,11,12,13},pypy3: sphinx-build -a -E -W -b doctest doc/source doc/build
py3{8,9,10,11,12,13},pypy3: sphinx-build -a -E -W -b html doc/source doc/build
[testenv:pep8]
basepython = python3
deps = ruff
commands =
ruff check . {posargs}
ruff format --check . {posargs}
[testenv:mypy]
deps =
mypy>=1.0.0
pytest # for stubs
trio
commands =
mypy {posargs}
[testenv:reno]
basepython = python3
deps = reno
commands = reno {posargs}