Skip to content

Commit f49c3f8

Browse files
committed
Konfiguriere pydantics Mypy-Plugin
1 parent 5563667 commit f49c3f8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

setup.cfg

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
11
[mypy]
22
allow_untyped_decorators = True
33
check_untyped_defs = True
4+
plugins = pydantic.mypy
45
warn_return_any = True
56
warn_unreachable = True
67
warn_unused_ignores = True
78

9+
[pydantic-mypy]
10+
init_forbid_extra = True
11+
init_typed = True
12+
warn_required_dynamic_aliases = True
13+
warn_untyped_fields = True
14+
815
[flake8]
916
max-complexity = 6
1017
ignore = E501,W503

0 commit comments

Comments
 (0)