Skip to content

Include py.typed marker for PEP 561 compliance (#1388)#1546

Open
Ashutosh0x wants to merge 1 commit intogoogle-deepmind:mainfrom
Ashutosh0x:fix/add-py-typed-marker
Open

Include py.typed marker for PEP 561 compliance (#1388)#1546
Ashutosh0x wants to merge 1 commit intogoogle-deepmind:mainfrom
Ashutosh0x:fix/add-py-typed-marker

Conversation

@Ashutosh0x
Copy link
Copy Markdown

Resolves #1388. This PR adds an empty \py.typed\ file to the \optax\ package to indicate that it provides type annotations, as per PEP 561. This allows type checkers like mypy and pyright to use the library's type hints.

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.

Publishing with py.typed

1 participant