Skip to content

Commit aab43e4

Browse files
Create py.typed (#189)
* 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. * Update py.typed * fixed linting * Update pyproject.toml --------- Co-authored-by: BowenD-UCB <84425382+BowenD-UCB@users.noreply.github.com>
1 parent 2570b29 commit aab43e4

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

chgnet/py.typed

Whitespace-only changes.

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Package = "https://pypi.org/project/chgnet"
4343
find = { include = ["chgnet*"], exclude = ["tests", "tests*"] }
4444

4545
[tool.setuptools.package-data]
46-
"chgnet" = ["*.json"]
46+
"chgnet" = ["*.json", "py.typed"]
4747
"chgnet.pretrained" = ["*", "**/*"]
4848

4949
[build-system]

0 commit comments

Comments
 (0)