Skip to content

Commit

Permalink
added a py.typed file
Browse files Browse the repository at this point in the history
This tells type checkers like pyright that this project includes type
hints and does not require a type stub for type elucidation
  • Loading branch information
thomasaarholt committed Oct 7, 2024
1 parent e20d095 commit f965ee2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
Empty file added hyperspy/py.typed
Empty file.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ extend-ignore = ["E501"]
"*" = [
"hyperspy_extension.yaml",
"misc/dask_widgets/*.html.j2",
"py.typed",
]

[tool.setuptools.packages.find]
Expand Down

0 comments on commit f965ee2

Please sign in to comment.