-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
61 lines (52 loc) · 1.24 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
[darglint]
strictness = long
[flake8]
accept-encodings = utf-8
exclude= movielog/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
movielog/repository/api.py: WPS202
movielog/repository/watchlist_credits_updater.py: WPS118
movielog/exports/api.py: WPS235
movielog/exports/stats.py: WPS202
movielog/cli/add_viewing.py: WPS202
[isort]
include_trailing_comma = True
line_length = 88
multi_line_output = 3
[mypy]
python_version = 3.12
strict = True
mypy_path = movielog/stubs
[mypy-imdb.*]
ignore_missing_imports = True
[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: