forked from Flared/dramatiq-abort
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
57 lines (51 loc) · 735 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
[tox]
envlist=
py{37,38,39,310}
py{37,38,39,310}-gevent
lint
docs
minversion = 3.14.0
isolated_build = true
skip_missing_interpreters = true
[gh-actions]
python =
3.7: py37, lint, docs
3.8: py38
3.9: py39
3.10: py310
[testenv]
extras=
all
deps=
pytest
pytest-cov
commands=
pytest tests {posargs}
passenv=
GITHUB_ACTION
[testenv:py{37,38,39,310}-gevent]
extras=
all
deps=
pytest
pytest-cov
commands=
python {toxinidir}/pytest-gevent.py tests {posargs}
passenv=
GITHUB_ACTION
[testenv:lint]
extras=
dev
commands=
python setup.py check -m -s
isort -c .
black --check .
flake8 .
mypy .
[testenv:docs]
extras=
dev
allowlist_externals=make
changedir=docs
commands=
make html