From ddd6c967366517f96c361a582d34e813ef89edbe Mon Sep 17 00:00:00 2001 From: dts Date: Sun, 26 Apr 2026 23:05:43 +0200 Subject: [PATCH] chore: add py.typed marker for PEP 561 typing support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Without this marker, downstream type checkers (mypy, pyright, pyre) ignore the hand-maintained .pyi stubs that ship alongside the package and collapse imported atompack symbols to Any. PEP 561 requires the marker for "inline" packages — packages that ship their stubs in the same directory as the runtime code, which is what atompack does (__init__.pyi, _atompack_rs.pyi, hub.pyi all live next to __init__.py). Maturin ships everything under python-source = "python" by default, so the new file lands in the wheel without any [tool.maturin] include change. --- atompack-py/python/atompack/py.typed | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 atompack-py/python/atompack/py.typed diff --git a/atompack-py/python/atompack/py.typed b/atompack-py/python/atompack/py.typed new file mode 100644 index 0000000..e69de29