Skip to content

Commit

Permalink
Add PEP-561 py.typed file
Browse files Browse the repository at this point in the history
This commit adds a py.typed file, which marks the package as having type information available.
For more information, see  https://mypy.readthedocs.io/en/stable/installed_packages.html#making-pep-561-compatible-packages

The zip_safe seems to be [still necessary](encode/httpx#193 (reference)),
even though it is [deprecated](python/mypy#8802).
  • Loading branch information
lalten authored and willson556 committed Dec 19, 2024
1 parent 589600a commit 3c98196
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Empty file added openhtf/py.typed
Empty file.
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,13 @@ find = {}

[tool.setuptools.package-data]
openhtf = [
"py.typed",
"output/web_gui/dist/*.*",
"output/web_gui/dist/css/*",
"output/web_gui/dist/js/*",
"output/web_gui/dist/img/*",
"output/web_gui/*.*",

]

[tool.setuptools-protobuf]
Expand Down

0 comments on commit 3c98196

Please sign in to comment.