Skip to content

Commit 80858dc

Browse files
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.
1 parent a380d70 commit 80858dc

File tree

2 files changed

+1
-0
lines changed

2 files changed

+1
-0
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ exclude = ['src/**/*.sh']
145145

146146
[tool.flit.module]
147147
name = "google.adk"
148+
include = ["py.typed"]
148149

149150
[tool.isort]
150151
profile = "google"

src/google/adk/py.typed

Whitespace-only changes.

0 commit comments

Comments
 (0)