-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
54 lines (46 loc) · 1.03 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
[darglint]
strictness = long
[flake8]
accept-encodings = utf-8
exclude= booklog/stubs/*.pyi
format = wemake
ignore = C, D, E203, P103, S101, S608, W503, WPS226, WPS473, WPS526
inline-quotes = double
max-line-length = 100
max-module-members = 14
max-imports = 14
show-source = True
per-file-ignores =
tests/*.py: S101, WPS118, WPS202, WPS432, WPS442, WPS204
booklog/repository/api.py: WPS202
[isort]
include_trailing_comma = True
line_length = 88
multi_line_output = 3
[mypy]
python_version = 3.10
strict = True
mypy_path = booklog/stubs
[mypy-tests.*]
disallow_untyped_decorators = False
[tool:pytest]
# py.test configuration: http://doc.pytest.org/en/latest/customize.html
norecursedirs = tests/fixtures *.egg .eggs dist build docs .tox .git __pycache__ .venv .direnv
junit_family=xunit1
addopts =
--strict-markers
--cov=.
--cov-branch
--cov-report html
-s
--show-capture stdout
[coverage:run]
omit =
**/__init__.py
.venv/**
setup.py
**/.direnv/**
[coverage:report]
exclude_lines =
pragma: no cover
if TYPE_CHECKING: