From 23caa862662aba91359d6a174b5d7638ede5300e Mon Sep 17 00:00:00 2001 From: anti Date: Fri, 1 May 2026 00:20:54 -0400 Subject: [PATCH] =?UTF-8?q?fix(types):=20P1=20=E2=80=94=20pydantic.mypy=20?= =?UTF-8?q?plugin,=20types-PyYAML=20stub,=20pin=20mypy<1.20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pyproject.toml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index d3197fcc..dccb9f02 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -83,7 +83,9 @@ dev = [ "pymongo>=4.16.0", "locust>=2.29", "gevent>=24.0", - "pydeps>=3.0.3" + "pydeps>=3.0.3", + "types-PyYAML>=6.0", + "mypy>=1.16,<1.20" ] [project.scripts] @@ -141,3 +143,14 @@ decnet = [ exclude_dirs = [ "decnet/templates", ] + +[tool.mypy] +plugins = [ + "pydantic.mypy" +] +python_version = "3.11" +strict = false +ignore_missing_imports = true +check_untyped_defs = true +warn_redundant_casts = true +warn_unused_ignores = true