forked from fellowapp/asyncio-connection-pool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathriotfile.py
45 lines (44 loc) · 1.12 KB
/
riotfile.py
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
from riot import Venv, latest
venv = Venv(
pys=3,
venvs=[
Venv(
pys=[3.8, 3.9],
name="test",
command="pytest {cmdargs}",
pkgs={
"pytest": "==6.1.2",
"pytest-asyncio": "==0.14.0",
# extras_require
"ddtrace": latest,
"datadog": latest,
"aioredis": latest,
},
),
Venv(
name="mypy",
command="mypy asyncio_connection_pool",
pkgs={
"mypy": "==0.790",
},
),
Venv(
pkgs={"black": "==20.8b1"},
venvs=[
Venv(
name="fmt",
command=r"black --exclude '/\.riot/' .",
),
Venv(
name="black",
command=r"black --exclude '/\.riot/' {cmdargs}",
),
],
),
Venv(
name="flake8",
pkgs={"flake8": "==3.8.4"},
command="flake8 test asyncio_connection_pool",
),
],
)