diff --git a/pyproject.toml b/pyproject.toml index 633952e0..afedbff3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -54,3 +54,15 @@ ignore_missing_imports = false show_column_numbers = true strict = true disallow_untyped_defs = true +plugins = ["pydantic.mypy"] +follow_imports = "silent" +warn_redundant_casts = true +warn_unused_ignores = true +disallow_any_generics = true +check_untyped_defs = true +no_implicit_reexport = true + +[tool.pydantic-mypy] +init_forbid_extra = true +init_typed = true +warn_required_dynamic_aliases = true