forked from mosquito/aio-pika
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
53 lines (42 loc) · 1.12 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
[tox]
envlist = lint,mypy,py3{6,7,8,9,10}{,-uvloop}
[testenv]
passenv = COVERALLS_* AMQP_* FORCE_COLOR
deps =
py36-uvloop: uvloop~=0.14.0
py37-uvloop: uvloop~=0.16.0
py38-uvloop: uvloop~=0.16.0
py39-uvloop: uvloop~=0.16.0
py310-uvloop: uvloop~=0.16.0
extras =
develop
commands=
pytest -vv --cov=aio_pika --cov-report=term-missing --doctest-modules --aiomisc-test-timeout=30 tests
- coveralls
[testenv:lint]
deps =
pylava
commands=
pylava -o pylava.ini aio_pika tests
[testenv:checkdoc]
deps =
collective.checkdocs
pygments
commands =
python setup.py checkdocs
[testenv:mypy]
basepython = python3.10
usedevelop = true
deps =
mypy
commands =
mypy --install-types --non-interactive \
aio_pika \
tests \
docs/source/examples
mypy docs/source/rabbitmq-tutorial/examples/1-introduction
mypy docs/source/rabbitmq-tutorial/examples/2-work-queues
mypy docs/source/rabbitmq-tutorial/examples/3-publish-subscribe
mypy docs/source/rabbitmq-tutorial/examples/4-routing
mypy docs/source/rabbitmq-tutorial/examples/5-topics
mypy docs/source/rabbitmq-tutorial/examples/6-rpc