diff --git a/CHANGELOG.md b/CHANGELOG.md index fb27fd61..e252aa67 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +### Added + +- **Type Hints**: Added `py.typed` marker for PEP 561 compliance, enabling type checkers (mypy, pyright) to recognize the package as typed when installed from PyPI. + ## [0.2.0] - 2025-12-26 ### Added diff --git a/graphqomb/py.typed b/graphqomb/py.typed new file mode 100644 index 00000000..e69de29b diff --git a/pyproject.toml b/pyproject.toml index f46be8ac..85cfbb40 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -57,6 +57,9 @@ dependencies = { file = ["requirements.txt"] } dev = { file = ["requirements-dev.txt"] } doc = { file = ["docs/requirements.txt"] } +[tool.setuptools.package-data] +graphqomb = ["py.typed"] + [tool.ruff] target-version = "py39" line-length = 120