Skip to content

feat: add PEP 561 py.typed marker and sync trove classifiers#10

Open
purificant wants to merge 1 commit into
ActiveCampaign:mainfrom
purificant:feature/py-typed-marker
Open

feat: add PEP 561 py.typed marker and sync trove classifiers#10
purificant wants to merge 1 commit into
ActiveCampaign:mainfrom
purificant:feature/py-typed-marker

Conversation

@purificant

Copy link
Copy Markdown
Contributor

Add the py.typed marker so the package's existing type annotations can be used by type checkers in downstream projects. Include the "Typing :: Typed" classifier and Python 3.13/3.14 classifiers to match CI.

Per PEP 561, a type checker uses a package's inline annotations only if the package opts in with this marker: maintainers "MUST add a marker file named py.typed", and bundled types "SHOULD be used" only for packages that have done so. This code was already annotated but never shipped the marker, so conformant checkers ignore those types. Adding the empty file fixes that, with no runtime or public API change.

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