From 8401a47ccb5c36c7656b26e07e009a5be9035fd0 Mon Sep 17 00:00:00 2001 From: Willem-Jan van Rootselaar Date: Wed, 25 Mar 2026 12:44:33 +0100 Subject: [PATCH] chore: update ty dependency to 0.0.25 and configure type checking overrides --- pyproject.toml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 3f226d71..be879b8e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -166,6 +166,14 @@ runtime-evaluated-base-classes = ["pydantic.BaseModel"] [tool.ruff.lint.mccabe] max-complexity = 25 +[[tool.ty.overrides]] +include = ["tests/**", "**/test_*.py", "examples/**"] + +[tool.ty.overrides.rules] +invalid-assignment = "ignore" +invalid-argument-type = "ignore" +unresolved-attribute = "ignore" + [tool.codespell] ignore-words-list = "astroid" @@ -188,7 +196,7 @@ dev = [ # hatch is required to support type hinting and proper packaging of the py.typed file. "hatch>=1.14.1", "isort==8.0.1", - "ty==0.0.24", + "ty==0.0.25", "prek>=0.3.3", "pre-commit-hooks==6.0.0", "pylint==4.0.5",