forked from openshift-eng/doozer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
45 lines (42 loc) · 966 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 = py38
[testenv]
deps =
-r requirements-dev.txt
-r requirements.txt
passenv = *
commands =
coverage run --branch --source doozerlib -m unittest discover -t . -s tests/
flake8
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
# See https://gitlab.com/pycqa/flake8/issues/466.
W503
exclude = build/*, *.ini, *.in, MANIFEST*, *.md, .eggs, .tox venv
max-complexity = -1