-
Notifications
You must be signed in to change notification settings - Fork 117
/
Copy pathsetup.cfg
49 lines (41 loc) · 934 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
47
48
49
########################################
# Tool configurations
########################################
# cspell: disable
# Setup Pytest configuration
[tool:pytest]
minversion = 6.0
addopts = --pspec --cov=service --cov-fail-under=95
testpaths =
tests
integration
# Setup PyLint configuration
[pylint.FORMAT]
max-line-length = 127
[pylint.'MESSAGES CONTROL']
disable = "no-member,protected-access,global-statement"
# setup Flake8 configuration
[flake8]
max-line-length = 127
per-file-ignores =
*/__init__.py: F401 E402
count = true
# Setup Black configurtion
[black]
line-length = 127
# Setup Coverage configuration
[coverage:run]
source = service
omit = 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:html]
title = 'Test Coverage Report'