forked from nyu-devops/lab-openshift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
46 lines (39 loc) · 761 Bytes
/
setup.cfg
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
# setup configuration for tools
[tool:pytest]
minversion = 6.0
addopts = --pspec --cov=service --cov-fail-under=95 --disable-warnings
testpaths =
tests
integration
[green]
verbose=3
processes=1
run-coverage=1
termcolor=1
minimum-coverage=95
# junit-report=./unittests.xml
[flake8]
max-line-length = 127
per-file-ignores =
*/__init__.py: F401 E402
[pylint.'MESSAGES CONTROL']
disable=E1101
[coverage:run]
source = service
omit =
venv/*
.venv/*
[coverage:report]
show_missing = true
exclude_lines =
pragma: no cover
pragma: no branch
pass
subprocess.CalledProcessError
sys.exit
if __name__ == .__main__.:
ignore_errors = true
[coverage:xml]
output=./coverage.xml
[coverage:html]
title = 'Test Coverage Report'