forked from raiden-network/raiden
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
40 lines (35 loc) · 1.04 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
37
38
39
40
[tox]
envlist = py27,coverage,flake8
[testenv:devenv]
envdir = devenv
basepython = python2.7
usedevelop = True
changedir = {toxinidir}/raiden
deps =
-rrequirements.txt
pdbpp
commands =
py.test --blockchain-type=tester --exitfirst --ignore tests/test_webui.py --ignore tests/integration {posargs}
py.test --blockchain-type=tester --exitfirst --ignore tests/test_webui.py tests/integration {posargs}
[testenv]
changedir = {toxinidir}/raiden
deps =
-rrequirements.txt
coverage==4.0
commands =
py.test --exitfirst --ignore tests/test_webui.py --ignore tests/integration {posargs}
py.test --exitfirst --ignore tests/test_webui.py tests/integration {posargs}
coverage run --source raiden --branch -m py.test --ignore tests/test_webui.py {posargs}
[testenv:coverage]
basepython = python2.7
skip_install = True
deps = coverage==4.0
commands = coverage report --show-missing
[testenv:flake8]
basepython = python2.7
skip_install = True
deps = flake8==2.4.1
commands = flake8 raiden
[flake8]
max-line-length = 99
max-complexity = 10