From 38159eb0a0f79dd7e547701924463810a9a16bb4 Mon Sep 17 00:00:00 2001 From: "Andrew S. Rosen" Date: Sat, 17 Aug 2024 11:40:16 -0400 Subject: [PATCH] Create py.typed (#324) * 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 * Update pyproject.toml Signed-off-by: Andrew S. Rosen --------- Signed-off-by: Andrew S. Rosen --- pyproject.toml | 1 + src/matgl/py.typed | 1 + 2 files changed, 2 insertions(+) create mode 100644 src/matgl/py.typed diff --git a/pyproject.toml b/pyproject.toml index 73c38354..6d40b501 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -71,6 +71,7 @@ mgl = "matgl.cli:main" where = ["src"] [tool.setuptools.package-data] +matgl = ["py.typed"] "matgl.utils" = ["sb_roots.npy"] diff --git a/src/matgl/py.typed b/src/matgl/py.typed new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/src/matgl/py.typed @@ -0,0 +1 @@ +