Source code

Revision control

Other Tools

1
[tox]
2
envlist = py27,py35,py36,py37,pypy,{py27,py35,py36,py37}-flake8,{py35,py36,py37}-mypy
3
skipsdist=True
4
5
[testenv]
6
deps =
7
pytest
8
pytest-cov
9
mock
10
hypothesis
11
requests
12
taskcluster
13
pyyaml
14
json-e
15
jsonschema
16
17
commands = pytest {posargs}
18
19
passenv =
20
HYPOTHESIS_PROFILE
21
PY_COLORS
22
TASKCLUSTER_ROOT_URL
23
24
[testenv:py27-flake8]
25
deps = -rrequirements_flake8.txt
26
commands = flake8 --append-config={toxinidir}/py27-flake8.ini {posargs}
27
28
[testenv:py35-flake8]
29
deps = -rrequirements_flake8.txt
30
commands = flake8 --append-config={toxinidir}/py36-flake8.ini {posargs}
31
32
[testenv:py36-flake8]
33
deps = -rrequirements_flake8.txt
34
commands = flake8 --append-config={toxinidir}/py36-flake8.ini {posargs}
35
36
[testenv:py37-flake8]
37
deps = -rrequirements_flake8.txt
38
commands = flake8 --append-config={toxinidir}/py36-flake8.ini {posargs}
39
40
[testenv:py35-mypy]
41
deps = -rrequirements_mypy.txt
42
changedir = {toxinidir}/..
43
commands =
44
mypy --config-file={toxinidir}/mypy.ini --no-incremental --py2 -p tools.manifest -p tools.lint -p tools.gitignore
45
46
[testenv:py36-mypy]
47
deps = -rrequirements_mypy.txt
48
changedir = {toxinidir}/..
49
commands =
50
mypy --config-file={toxinidir}/mypy.ini --no-incremental --py2 -p tools.manifest -p tools.lint -p tools.gitignore
51
52
[testenv:py37-mypy]
53
deps = -rrequirements_mypy.txt
54
changedir = {toxinidir}/..
55
commands =
56
mypy --config-file={toxinidir}/mypy.ini --no-incremental --py2 -p tools.manifest -p tools.lint -p tools.gitignore