From a79b9345389184889b251878249c41fefb17d6bc Mon Sep 17 00:00:00 2001 From: Dan Redding <125183946+dangotbanned@users.noreply.github.com> Date: Sat, 18 Jan 2025 13:06:07 +0000 Subject: [PATCH] ci(typing): Disable `mypy` `[annotation-unchecked]` on examples (#3775) --- pyproject.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 8922cc9f1..0b36e071e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -320,6 +320,13 @@ module = [ ignore_missing_imports = true disable_error_code = ["import-untyped"] +[[tool.mypy.overrides]] +module = [ + "tests/examples_arguments_syntax.*", + "tests/examples_methods_syntax.*", +] +disable_error_code = ["annotation-unchecked"] + [tool.pyright] enableExperimentalFeatures=true extraPaths=["./tools"]