-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathtox.ini
77 lines (69 loc) · 1.03 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
[tox]
envlist = clean,py27,py35,py36,py37,pypy,stats,flake8
skipsdist = True
[travis]
python =
3.7: py37, flake8
[testenv]
deps =
pytest
pytest-cov
commands =
py.test --cov-config .coveragerc --cov-append --cov=bencode
[testenv:clean]
skip_install = true
deps =
coverage
commands =
coverage erase
[testenv:py26]
deps =
pytest==3.2.4
pytest-cov
[testenv:py33]
deps =
pytest==3.2.4
pytest-cov
[testenv:flake8]
basepython = python
skip_install = true
deps =
flake8
flake8-docstrings>=0.2.7
flake8-import-order>=0.9,<=0.16
flake8-import-order-fuzeman>=1.1.1
commands =
flake8
[testenv:stats]
skip_install = true
deps =
coverage
commands =
coverage report -m
coverage html
[flake8]
format=pylint
statistics = True
ignore =
D101,
D102,
D103,
D107,
D202,
D203
exclude =
.cache,
.eggs,
.git,
.tox,
__pycache__,
build,
dist,
tests/fixtures/*,
*.pyc,
*.egg-info,
show-source = True
max-complexity = 10
max-line-length = 120
import-order-style = fuzeman
application-import-names = bencode