Skip to content

Support downstream type checking by including py.typed - #306

Merged
TomNicholas merged 2 commits into
mainfrom
add-py.typed
Nov 18, 2024
Merged

Support downstream type checking by including py.typed#306
TomNicholas merged 2 commits into
mainfrom
add-py.typed

Conversation

@maxrjones

Copy link
Copy Markdown
Member

Following https://peps.python.org/pep-0561/, a package must add a marker file named py.typed to their package to suppoer type checking of their code. I'd like to use VirtualiZarr's type checking in https://github.com/developmentseed/virtualize-nex-gddp-cmip6 and expect others would find this helpful, so this PR adds the marker file to the package.

@TomNicholas TomNicholas left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh good catch! This is worth a note in the release notes.

@TomNicholas
TomNicholas merged commit 5c3e204 into main Nov 18, 2024
@TomNicholas
TomNicholas deleted the add-py.typed branch November 18, 2024 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants