Skip to content

Commit

Permalink
Create py.typed (#324)
Browse files Browse the repository at this point in the history
* Create py.typed

As recommended in [pep 0561](https://peps.python.org/pep-0561/), a blank `py.typed` marker should be included when type hints are used so downstream codes can type check with `mypy` and similar tools.

Signed-off-by: Andrew S. Rosen <[email protected]>

* Update pyproject.toml

Signed-off-by: Andrew S. Rosen <[email protected]>

---------

Signed-off-by: Andrew S. Rosen <[email protected]>
  • Loading branch information
Andrew-S-Rosen authored Aug 17, 2024
1 parent 8c7a9bc commit 38159eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ mgl = "matgl.cli:main"
where = ["src"]

[tool.setuptools.package-data]
matgl = ["py.typed"]
"matgl.utils" = ["sb_roots.npy"]


Expand Down
1 change: 1 addition & 0 deletions src/matgl/py.typed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

0 comments on commit 38159eb

Please sign in to comment.