forked from klen/pylama
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
52 lines (41 loc) · 779 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
51
52
[tox]
envlist = py26,py27,py34,cov
[pytest]
addopts = -s
norecursedirs = *
[testenv]
commands=
py.test --pylama pylama
py.test tests.py -s
deps =
pytest
[testenv:py26]
deps =
argparse
{[testenv]deps}
[testenv:cov]
deps =
coverage
{[testenv]deps}
commands =
coverage run --source pylama -m py.test tests.py
coverage report
[pylama]
async = 1
ignore = F0401,C0111,E731
linters = pep8,pyflakes,mccabe,pep257,pylint
path = pylama
skip = pylama/lint/*,pylama/inirama.py,pylama/libs/*
verbose = 0
[pylama:pyflakes]
builtins = _
[pylama:pylint]
max-line-length = 100
[pylama:pep8]
max_line_length = 100
[pylama:pylama/core.py]
ignore = C901,R0914
[pylama:pylama/main.py]
ignore = R0914,W0212,C901,E1103
[pylama:tests.py]
ignore = D,E1103