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

Added py.typed marker for deephaven #5196

Merged
merged 5 commits into from
Feb 27, 2024
Merged

Added py.typed marker for deephaven #5196

merged 5 commits into from
Feb 27, 2024

Conversation

bierus
Copy link
Contributor

@bierus bierus commented Feb 26, 2024

We are currently forced to write our custom *.pyi stubs for mypy to use static type checking for our deephaven Python scripts. I'm adding py.typed marker to deephaven root to directly use the typing provided by the deephaven Team.

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

@bierus
Copy link
Contributor Author

bierus commented Feb 26, 2024

@jmao-denver I opened a new PR as you requested

@rcaudy
Copy link
Member

rcaudy commented Feb 26, 2024

Continuation of #5189 that was accidentally closed.

Copy link
Contributor

@jmao-denver jmao-denver left a comment

Choose a reason for hiding this comment

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

I have built news wheels with the pushed changed and verified the them against mypy.

@jmao-denver jmao-denver merged commit d741ec3 into deephaven:main Feb 27, 2024
29 of 31 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Feb 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants