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