forked from perdy/starlette-prometheus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
77 lines (66 loc) · 1.18 KB
/
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
[tool:pytest]
minversion = 3
addopts = --junitxml=test-results/pytest/results.xml --no-cov-on-fail --cov-report=xml --cov-report=term-missing --cov-config=setup.cfg --cov=. --pdbcls=IPython.terminal.debugger:TerminalPdb
norecursedirs =
*settings*
*urls*
.tox*
*docs*
[coverage:run]
source = .
branch = True
omit =
.venv*
*settings*
*__init__.py
*__main__.py
*tests*
*/migrations/*
make
examples*
[coverage:report]
show_missing = True
ignore_errors = True
fail_under = 90
exclude_lines =
noqa
pragma: no cover
pass
raise AssertionError
raise NotImplementedError
if 0:
if __name__ == .__main__.:
def __repr__
def __str__
if cls\.debug
if settings\.DEBUG
if (typing\.)?TYPE_CHECKING:
[coverage:paths]
source = ./
[coverage:html]
directory = ./test-results/coverage_html/
[coverage:xml]
output = ./test-results/coverage.xml
[isort]
atomic = true
multi_line_output = 3
include_trailing_comma = True
not_skip = __init__.py
line_length = 120
skip_glob =
*/.venv/**
*/.tox/**
*/docs/**
*/build/**
*/dist/**
known_standard_library = typing
[flake8]
max-line-length = 120
ignore = N804,W503
exclude =
.venv/*
docs/*,
build/*,
dist/*,
.tox/*
max-complexity = 10