-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
77 lines (61 loc) · 1.22 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
77
[tox:tox]
skipsdist = true
envlist = python3.12
[testenv]
allowlist_externals = poetry
whitelist_externals = poetry
commands =
poetry install -v
poetry run pytest
[coverage:report]
precision = 2
exclude_lines =
pragma: no cover
raise NotImplementedError
raise NotImplemented
[coverage:run]
source = app
branch = True
[mypy]
plugins = pydantic.mypy
strict_optional = True
warn_redundant_casts = True
warn_unused_ignores = True
disallow_any_generics = True
check_untyped_defs = True
disallow_untyped_defs = True
[pydantic-mypy]
init_forbid_extra = True
init_typed = True
warn_required_dynamic_aliases = True
warn_untyped_fields = True
[mypy-sqlalchemy.*]
ignore_missing_imports = True
[mypy-alembic.*]
ignore_missing_imports = True
[mypy-loguru.*]
ignore_missing_imports = True
[mypy-asyncpg.*]
ignore_missing_imports = True
[mypy-bcrypt.*]
ignore_missing_imports = True
[mypy-passlib.*]
ignore_missing_imports = True
[mypy-slugify.*]
ignore_missing_imports = True
[mypy-pypika.*]
ignore_missing_imports = True
[flake8]
format = wemake
ignore =
B008,
D, RST
E800,
WPS306,
WPS404,
WPS430,
WPS465,
WPS601,
no-accept-encodings = True
nested-classes-whitelist=Config
inline-quotes = double