From c7444d38a170922ecf798c80a68d21d9d4d3b2ca Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Fri, 30 Jan 2026 11:19:06 +0100 Subject: [PATCH] Remove pydantic v1 mypy plugin (#161901) --- mypy.ini | 2 +- script/hassfest/mypy_config.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/mypy.ini b/mypy.ini index 51c6c69c9c7..105d90d86e6 100644 --- a/mypy.ini +++ b/mypy.ini @@ -5,7 +5,7 @@ [mypy] python_version = 3.14 platform = linux -plugins = pydantic.mypy, pydantic.v1.mypy +plugins = pydantic.mypy show_error_codes = true follow_imports = normal local_partial_types = true diff --git a/script/hassfest/mypy_config.py b/script/hassfest/mypy_config.py index ac27df85ccc..1eb1c5ee476 100644 --- a/script/hassfest/mypy_config.py +++ b/script/hassfest/mypy_config.py @@ -36,7 +36,6 @@ GENERAL_SETTINGS: Final[dict[str, str]] = { "plugins": ", ".join( # noqa: FLY002 [ "pydantic.mypy", - "pydantic.v1.mypy", ] ), "show_error_codes": "true",