Skip to content

Comments

Add py.typed marker.#130

Open
Jammf wants to merge 1 commit intogoogle-deepmind:mainfrom
Jammf:fix-pytyped
Open

Add py.typed marker.#130
Jammf wants to merge 1 commit intogoogle-deepmind:mainfrom
Jammf:fix-pytyped

Conversation

@Jammf
Copy link

@Jammf Jammf commented Oct 17, 2025

Downstream packages will expect the py.typed marker to be present, which explicitly declares that a library supports typing (see relevant portion of typing spec). Pyright currently emits a reportMissingTypeStubs diagnostic due to the missing marker, assuming the rule is enabled in a downstream codebase.

This PR adds the marker to the top-level penzai package, which also recursively declares that all sub-packages support type checking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant