Skip to content

Commit

Permalink
fix: add py.typed marker (#1350)
Browse files Browse the repository at this point in the history
# Description
I noticed that our mypy evaluation was failing upon importing
`deltalake` package due to missing `py.typed` marker or a stubs package.
Given there is type information already annotated in this repo, it makes
sense for the python package to be
[PEP-561](https://peps.python.org/pep-0561/#packaging-type-information)
compatible.

Maturin should pick this file up and distribute it correctly, according
to [the
documentation](https://www.maturin.rs/project_layout.html?highlight=py.typ#adding-python-type-information)

# Related Issue(s)
No open issues (I could find)

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

https://www.maturin.rs/project_layout.html?highlight=py.typ#adding-python-type-information
  • Loading branch information
SchutteJan committed May 9, 2023
1 parent b523083 commit 37a0f09
Showing 1 changed file with 0 additions and 0 deletions.
Empty file added python/deltalake/py.typed
Empty file.

0 comments on commit 37a0f09

Please sign in to comment.