Sitelet https://github.com/braintrustdata/autoevals/pull/234
Skip to content

Ship a PEP 561 py.typed marker for the Python package - #234

Open
Adam Hitchcock (NorthIsUp) wants to merge 2 commits into
braintrustdata:mainfrom
NorthIsUp:add-py-typed
Open

Adam Hitchcock (NorthIsUp) wants to merge 2 commits into
braintrustdata:mainfrom
NorthIsUp:add-py-typed

Conversation

@NorthIsUp

Copy link
Copy Markdown

The Python package is annotated and checked with pyright in strict mode (pyrightconfig.json), but the wheel has no py.typed marker, so downstream type checkers ignore those annotations and pyright reports Stub file not found for "autoevals" under reportMissingTypeStubs.

This adds the empty py/autoevals/py.typed marker and includes it via MANIFEST.in (the package uses include-package-data, which reads the manifest). Verified: a wheel built from this branch contains autoevals/py.typed.

This branch has not been deployed

No deployments
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