-
Notifications
You must be signed in to change notification settings - Fork 9
/
tox.ini
45 lines (36 loc) · 699 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
[tox]
envlist = py27
[pytest]
markers =
unit: mark a test as a unit test.
integration: mark test as an integration test
addopts= -rfsxX
norecursedirs = .git .tox env build
[testenv]
commands = pytest
[testenv:pylint]
basepython = python2.7
deps =
pyflakes
pylint
commands =
pylint backend
[testenv:flake8]
basepython = python2.7
deps =
flake8
commands = flake8 backend
[testenv:linters]
basepython = python2.7
deps =
{[testenv:flake8]deps}
{[testenv:pylint]deps}
commands =
{[testenv:pylint]commands}
{[testenv:flake8]commands}
[flake8]
max-line-length = 125
show-pep8 = true
show-source = true
statistics = true
exclude = .tox,*.egg,build,env,.git