From f56fd74efecc2cf6fbe6db70e91dfa7780fb9c68 Mon Sep 17 00:00:00 2001 From: Mohammad Date: Sat, 24 May 2025 13:16:33 +0200 Subject: [PATCH] build(package): add py.typed and include it in flit config This adds a py.typed marker file to the google.adk package and updates the Flit configuration in pyproject.toml to include it in the distribution. This ensures the package is PEP 561 compliant and allows static type checkers (like mypy and pyright) to recognize that the package supports type hints. --- pyproject.toml | 1 + src/google/adk/py.typed | 0 2 files changed, 1 insertion(+) create mode 100644 src/google/adk/py.typed diff --git a/pyproject.toml b/pyproject.toml index f16394a65..0cc44f0f3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -145,6 +145,7 @@ exclude = ['src/**/*.sh'] [tool.flit.module] name = "google.adk" +include = ["py.typed"] [tool.isort] profile = "google" diff --git a/src/google/adk/py.typed b/src/google/adk/py.typed new file mode 100644 index 000000000..e69de29bb