-
Notifications
You must be signed in to change notification settings - Fork 5
/
tox.ini
90 lines (76 loc) · 1.42 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
78
79
80
81
82
83
84
85
86
87
88
89
90
[tox]
envlist =
py27,
py35,
py36
pypy,
pycodestyle,
pep257,
pychecker
[testenv]
commands =
py.test --pylint --pylint-rcfile={toxinidir}/.pylintrc
python -c "import time; time.sleep(1)"
[py]
deps=
pytest-cov
pytest-flakes
pytest-pylint
pytest-random
pytest-remove-stale-bytecode
requests-mock
[pycodestyle]
show-source = True
statistics = True
exclude =.svn,CVS,.bzr,.hg,.git,__pycache__,.tox,docs
ignore = E402
[testenv:py27]
deps=
{[py]deps}
basepython = python2.7
[testenv:py32]
deps=
{[py]deps}
basepython = python3.2
[testenv:py33]
deps=
{[py]deps}
basepython = python3.3
[testenv:py34]
deps=
{[py]deps}
basepython = python3.4
[testenv:py35]
deps=
{[py]deps}
basepython = python3.5
[testenv:py36]
deps=
{[py]deps}
basepython = python3.6
[testenv:pypy]
deps=
{[py]deps}
basepython = pypy
[testenv:pypy3]
deps=
{[py]deps}
basepython = pypy3
[testenv:pycodestyle]
deps =
{[py]deps}
pycodestyle
basepython = python3.5
commands = pycodestyle --first
[testenv:pep257]
deps=
{[py]deps}
pep257
basepython = python3.5
commands = pep257 backup2swift
[testenv:pychecker]
deps=
{[py]deps}
http://sourceforge.net/projects/pychecker/files/latest/download#egg=PyChecker
commands = pychecker -F {toxinidir}/.pycheckrc backup2swift/*.py backup2swift/tests/*.py
basepython = python2.7