mirror of
https://github.com/kennethreitz/pydantic.git
synced 2026-06-21 15:20:59 +00:00
9585ef3475
Co-authored-by: detachhead <detachhead@users.noreply.github.com>
24 lines
540 B
INI
24 lines
540 B
INI
[mypy]
|
|
plugins = pydantic.mypy
|
|
|
|
follow_imports = silent
|
|
strict_optional = True
|
|
warn_redundant_casts = True
|
|
warn_unused_ignores = True
|
|
disallow_any_generics = True
|
|
check_untyped_defs = True
|
|
no_implicit_reexport = True
|
|
disallow_untyped_defs = True
|
|
disallow_any_decorated = True
|
|
disallow_any_expr = True
|
|
disallow_any_explicit = True
|
|
disallow_any_unimported = True
|
|
disallow_subclassing_any = True
|
|
warn_return_any = True
|
|
|
|
[pydantic-mypy]
|
|
init_forbid_extra = True
|
|
init_typed = True
|
|
warn_required_dynamic_aliases = True
|
|
warn_untyped_fields = True
|