Skip to content

Commit 65e7fa3

Browse files
committed
chg: Use pydantic models
1 parent ec80c2a commit 65e7fa3

5 files changed

Lines changed: 614 additions & 156 deletions

File tree

mypy.ini

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,19 @@
11
[mypy]
2+
plugins = pydantic.mypy
23
strict = True
34
warn_return_any = False
45
show_error_context = True
56
pretty = True
7+
follow_imports = silent
8+
warn_redundant_casts = True
9+
warn_unused_ignores = True
10+
disallow_any_generics = True
11+
no_implicit_reexport = True
12+
disallow_untyped_defs = True
13+
14+
[pydantic-mypy]
15+
init_forbid_extra = True
16+
warn_required_dynamic_aliases = True
617

718
[mypy-docs.source.*]
819
ignore_errors = True

0 commit comments

Comments
 (0)