-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtox.ini
57 lines (50 loc) · 858 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
57
[tox]
isolated_build = True
envlist = py{37,38,39,310,311},aioredis_compat,coverage,mypy,black
[testenv]
deps =
-rrequirements-test.txt
aioredis >= 2.0.0
extras =
setuptools
commands =
pytest tests
[testenv:aioredis_compat]
basepython = python3.7
deps =
-rrequirements-test.txt
aioredis == 1.2.0
extras =
setuptools
commands =
pytest tests
[testenv:redis]
basepython = python3.11
deps =
-rrequirements-test.txt
redis == 4.5.5
extras =
setuptools
commands =
pytest tests
[coverage:run]
branch = True
[testenv:coverage]
basepython = python3.9
deps =
-rrequirements-test.txt
pytest-cov
commands =
pytest --cov yatq
[testenv:mypy]
basepython = python3.9
deps =
mypy
commands =
mypy yatq
[testenv:black]
basepython = python3.9
deps =
black
commands =
black --check yatq tests