From a9345a072e9cadfac633c14ee3d550e04c1f4366 Mon Sep 17 00:00:00 2001 From: Mohammad Ghaffarifar Date: Thu, 29 May 2025 00:29:16 -0700 Subject: [PATCH] chore: add py.typed and include it in flit config Copybara import of the project: -- f56fd74efecc2cf6fbe6db70e91dfa7780fb9c68 by Mohammad : 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. COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/913 from mohamadghaffari:add-py-typed f56fd74efecc2cf6fbe6db70e91dfa7780fb9c68 PiperOrigin-RevId: 764603119 --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 3563603..a97c5ef 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"