-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
53 lines (45 loc) · 954 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
50
51
52
53
[isort]
skip_glob =
*_pb2.py,
*_pb2_grpc.py
multi_line_output = 3
include_trailing_comma = True
force_grid_wrap = 0
use_parentheses = True
line_length = 88
[flake8]
exclude =
.git,
__pycache__,
.pytest_cache,
venv,
generated,
ignore = E203, E266, E501, W503, E231, F541, F631
max-line-length = 88
max-complexity = 18
select = B,C,E,F,W,T4,B9
[bandit]
targets: service
[tool:pytest]
junit_family=xunit1
addopts = --color=yes --cov=service --cov-report=xml --cov-report=term -ra
filterwarnings =
log_cli = 1
log_cli_level = INFO
# log_cli_format = %(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)
# log_cli_date_format = %Y-%m-%d %H:%M:%S
[coverage:run]
branch = True
omit =
*/__main__.py
*/tests/*
*/venv/*
*/backend-lib/*
*/generated/*
service/client.py
[coverage:report]
exclude_lines =
pragma: no cover
if __name__ == .__main__.:
[coverage:html]
directory = reports