-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
53 lines (47 loc) · 907 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
[flake8]
enable-extensions = G
inline-quotes = single
multiline-quotes = '''
docstring-quotes = """
ignore =
# ambiguous variable name
E741
# unused _argument
U101
[isort]
profile = black
multi_line_output = 3
force_grid_wrap = 4
include_trailing_comma = True
[mypy]
python_version = 3.8
strict = True
sqlite_cache = True
show_error_codes = True
pretty = True
[radon]
# Maintainability Index
mi_min = B
show_mi = True
# Cyclomatic Complexity
cc_min = C
total_average = True
show_complexity = True
no_assert = True
[tool:pytest]
addopts = --strict-markers -ra --html=report.html --self-contained-html
asyncio_mode = strict
xfail_strict = true
[coverage:run]
branch = yes
[coverage:report]
exclude_lines =
pragma: no cover
@abstractclassmethod
@abstractmethod
@abstractproperty
@abstractstaticmethod
@overload
fail_under = 100
show_missing = yes
skip_empty = yes