Skip to content

Commit dc2dd8d

Browse files
This PR 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 allows static type checkers (like mypy or pyright) to recognize that the package supports type hints, in line with [PEP 561](https://www.python.org/dev/peps/pep-0561/). This change is minimal, backward-compatible, and supports the goal of typed-first Python development.
1 parent d212e50 commit dc2dd8d

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)