forked from pnuckowski/aioresponses
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
34 lines (29 loc) · 760 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
[tox]
envlist =
flake8,
coverage,
py3.7-aiohttp{33,34,35,36,37,38}
py3.8-aiohttp{33,34,35,36,37,38}
py3.9-aiohttp{37,38}
py3.10-aiohttp{37,38}
skipsdist = True
[testenv:flake8]
deps = flake8
commands = flake8 aioresponses
[testenv]
setenv =
PYTHONDONTWRITEBYTECODE=1
PYTHONPATH = {toxinidir}:{toxinidir}/aioresponses
passenv = PYTEST_ADDOPTS
deps =
aiohttp30: aiohttp>=3.0,<3.1
aiohttp31: aiohttp>=3.1,<3.2
aiohttp32: aiohttp>=3.2,<3.3
aiohttp33: aiohttp>=3.3,<3.4
aiohttp34: aiohttp>=3.4,<3.5
aiohttp35: aiohttp>=3.5,<3.6
aiohttp36: aiohttp>=3.6,<3.7
aiohttp37: aiohttp>=3.7,<3.8
aiohttp38: aiohttp>=3.8,<3.9
-r{toxinidir}/requirements-dev.txt
commands = python -m pytest {posargs}