-
Notifications
You must be signed in to change notification settings - Fork 26
/
tox.ini
109 lines (80 loc) · 1.41 KB
/
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
[tox]
envlist = pylava,checkdoc,py3{7-11},uvloop3{7-10},pydoc,rpc
[testenv]
passenv = COVERALLS_* GITHUB_* TEST_* FORCE_COLOR
usedevelop = true
extras =
develop
commands=
pytest -v \
--cov=aiomisc \
--cov=aiomisc_log \
--cov=aiomisc_pytest \
--cov=aiomisc_worker \
--cov-report=term-missing \
--doctest-modules \
--aiomisc-test-timeout=120 \
tests
- coveralls
[testenv:pydoc]
basepython=python3.10
usedevelop = true
extras =
develop
commands=
pytest -sv docs/source
[testenv:uvloop37]
basepython=python3.7
extras =
develop
uvloop
[testenv:uvloop38]
basepython=python3.8
extras =
develop
uvloop
[testenv:uvloop39]
basepython=python3.9
extras =
develop
uvloop
[testenv:uvloop310]
basepython=python3.10
extras =
develop
uvloop
[testenv:rpc]
basepython=python3.10
deps =
msgspec~=0.4.2
uvloop
changedir=examples/rpc
commands=
pytest -v --doctest-modules tests.py
[testenv:rpc_udp]
basepython=python3.10
deps =
msgspec~=0.4.2
uvloop
changedir=examples/rpc_udp
commands=
pytest -v --doctest-modules tests.py
[testenv:checkdoc]
skip_install=true
deps =
collective.checkdocs
pygments
commands =
python setup.py checkdocs
[testenv:pylava]
deps =
pyflakes==2.4.0
pylava
commands=
pylava -o pylava.ini .
[testenv:mypy]
usedevelop = true
deps =
mypy
commands =
mypy --install-types --non-interactive aiomisc aiomisc_log aiomisc_worker