forked from Bogdanp/dramatiq
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
53 lines (49 loc) · 850 Bytes
/
tox.ini
File metadata and controls
53 lines (49 loc) · 850 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[tox]
envlist=
py{310,311,312,313,314}{,-gevent}
docs
lint
[testenv]
setenv =
PYTHONTRACEMALLOC=1
dependency_groups=
test
extras=
all
commands=
python -Wall -m pytest --benchmark-skip {posargs}
passenv=
TRAVIS
[testenv:py{310,311,312,313,314}-gevent]
setenv =
PYTHONTRACEMALLOC=1
dependency_groups=
test
extras=
all
commands=
python -Wall {toxinidir}/pytest-gevent.py --benchmark-skip {posargs}
passenv=
TRAVIS
[testenv:docs]
dependency_groups=
docs
extras=
all
allowlist_externals=make
changedir=docs
commands=
make html
[testenv:lint]
dependency_groups=
lint
format
type-check
test
extras =
all
commands=
black --check {toxinidir}
flake8 {toxinidir}/dramatiq {toxinidir}/examples {toxinidir}/tests
isort -c {toxinidir}/dramatiq {toxinidir}/tests
mypy {toxinidir}/dramatiq {toxinidir}/tests