forked from openshift-eng/elliott
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
45 lines (42 loc) · 956 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 = py3
[testenv]
deps = -rrequirements-dev.txt
passenv = *
setenv =
PYTHONPATH={toxinidir}/elliottlib
PYTHONDONTWRITEBYTECODE=1
commands =
flake8
coverage run --branch --source elliottlib -m unittest discover -t . -s tests/
coverage report
[flake8]
ignore =
# imported but unused
# __init__ often imports to make available
# but does not use
F401,
# Line too long
E501,
# module level import not at top of file
E402,
# multiple imports on one line
E401,
# class names should used CapWords
N801,
# argument name should be lowercase
N803,
# function name should be lowercase
N802,
# variable in function should be lowercase
N806,
# redefinition of unused
F811
# lambda
E731,
# bare except
E722,
# line break before binary operator
W503,
exclude = build/*, *.ini, *.in, MANIFEST*, *.md, .eggs, .tox
max-complexity = -1