forked from klen/pylama
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
54 lines (43 loc) · 854 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
53
54
[tox]
envlist = py26,py27,py34,cov
[pytest]
addopts = -s
norecursedirs = *
[testenv]
commands=
py.test --pylama pylama
py.test test_pylama.py -s
deps =
pytest
-rrequirements.txt
[testenv:py26]
deps =
argparse
{[testenv]deps}
[testenv:cov]
deps =
coverage
{[testenv]deps}
commands =
coverage run --source pylama -m py.test test_pylama.py
coverage report
[pylama]
async = 1
ignore = D203,D213,F0401,C0111,E731
linters = pycodestyle,pyflakes,mccabe,pydocstyle,pylint
paths = pylama
skip = pylama/inirama.py,pylama/libs/*
verbose = 0
[pylama:pyflakes]
builtins = _
[pylama:pylint]
disable=R0921,E1002
max-line-length = 100
[pylama:pycodestyle]
max_line_length = 100
[pylama:pylama/core.py]
ignore = C901,R0914
[pylama:pylama/main.py]
ignore = R0914,W0212,C901,E1103
[pylama:test_pylama.py]
ignore = D,E1103