forked from scrapy/itemadapter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
41 lines (33 loc) · 787 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
35
36
37
38
39
40
41
[tox]
envlist = flake8,typing,black,py35,py36,py37,py38
[testenv]
deps =
-rtests/requirements.txt
commands =
pytest --verbose --cov=itemadapter --cov-report=term-missing --cov-report=html --cov-report=xml {posargs: itemadapter tests}
[testenv:py35]
basepython = python3.5
[testenv:py36]
basepython = python3.6
[testenv:py37]
basepython = python3.7
[testenv:py38]
basepython = python3.8
[testenv:flake8]
basepython = python3.8
deps =
flake8>=3.7.9
commands =
flake8 --exclude=.git,.tox,venv* itemadapter tests
[testenv:typing]
basepython = python3.8
deps =
mypy==0.770
commands =
mypy --ignore-missing-imports --follow-imports=skip itemadapter
[testenv:black]
basepython = python3.8
deps =
black>=19.10b0
commands =
black --check itemadapter tests