Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Declare support for type checking (closes #664) #760

Merged
merged 1 commit into from
Nov 6, 2023

Conversation

PedroPerpetua
Copy link
Contributor

Added py.typed file so that linters such as mypy know the package has typehints.

Relevant PEP: https://peps.python.org/pep-0561/#packaging-type-information

I haven't used setuptools much, but I believe the configuration provided is enough to package the py.typed file with the package; but please do confirm it.

@PedroPerpetua PedroPerpetua mentioned this pull request Nov 4, 2023
@Andrew-Chen-Wang Andrew-Chen-Wang linked an issue Nov 6, 2023 that may be closed by this pull request
@Andrew-Chen-Wang
Copy link
Member

Thank you!

@Andrew-Chen-Wang Andrew-Chen-Wang merged commit d810271 into jazzband:master Nov 6, 2023
32 checks passed
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.

Typehints / stubs
2 participants