forked from ethereum/pyethapp
-
Notifications
You must be signed in to change notification settings - Fork 7
/
tox.ini
50 lines (35 loc) · 830 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
42
43
44
45
46
47
48
49
50
[tox]
envlist = py{27, 36},flake8,check_readme,coverage
[testenv]
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/pyethapp
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/dev_requirements.txt
commands = coverage run --source pyethapp --branch -m py.test {posargs}
[testenv:coverage]
basepython =
py27: python2.7
py36: python3.6
skip_install = True
deps =
coverage==4.0.3
commands =
coverage report --show-missing
[testenv:flake8]
basepython =
py27: python2.7
py36: python3.6
skip_install = True
deps =
flake8==2.5.4
flake8-tuple==0.2.9
commands =
flake8 --exclude pyethapp/tests pyethapp
[testenv:check_readme]
skip_install = true
deps = readme_renderer
commands = python setup.py check --restructuredtext --strict
[flake8]
max-line-length = 99
max-complexity = 10