-
Notifications
You must be signed in to change notification settings - Fork 36
/
tox.ini
36 lines (34 loc) · 1.17 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
[tox]
envlist =
requests{216,217,218,219,220,221,222,223,224,225,226}-tenacity{51,60,61,62,63,70,80}
lint
[testenv]
deps =
requests216: requests>=2.16,<2.17
requests217: requests>=2.17,<2.18
requests218: requests>=2.18,<2.19
requests219: requests>=2.19,<2.20
requests220: requests>=2.20,<2.21
requests221: requests>=2.21,<2.22
requests222: requests>=2.22,<2.23
requests223: requests>=2.23,<2.24
requests224: requests>=2.24,<2.25
requests225: requests>=2.25,<2.26
requests226: requests>=2.26,<2.27
tenacity51: tenacity>=5.1.0,<5.2.0
tenacity60: tenacity>=6.0.0,<6.1.0
tenacity61: tenacity>=6.1.0,<6.2.0
tenacity62: tenacity>=6.2.0,<6.3.0
tenacity63: tenacity>=6.3.0,<6.4.0
tenacity70: tenacity>=7.0.0,<7.1.0
tenacity80: tenacity>=8.0.0,<8.1.0
extras = test
commands =
pytest {posargs:{toxinidir}/tests}
[testenv:lint]
extras = lint
install_command = python -m pip install {opts} {packages}
commands =
{envbindir}/isort {toxinidir}/apiclient {toxinidir}/tests --check-only
{envbindir}/black --check {toxinidir}/apiclient {toxinidir}/tests
{envbindir}/flake8 {toxinidir}/apiclient {toxinidir}/tests