From c2a645f2faa8358594e6f1c76a2fff47bb41ec68 Mon Sep 17 00:00:00 2001 From: Masato Fukushima Date: Sun, 11 Jan 2026 14:48:06 +0900 Subject: [PATCH 1/2] Add py.typed marker for PEP 561 compliance This enables type checkers (mypy, pyright) to recognize the package as typed when installed from PyPI. Co-Authored-By: Claude Opus 4.5 --- graphqomb/py.typed | 0 pyproject.toml | 3 +++ 2 files changed, 3 insertions(+) create mode 100644 graphqomb/py.typed diff --git a/graphqomb/py.typed b/graphqomb/py.typed new file mode 100644 index 000000000..e69de29bb diff --git a/pyproject.toml b/pyproject.toml index f46be8ac5..85cfbb409 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 From e9bfc2daae15194d3da3efe6867939ec4607da31 Mon Sep 17 00:00:00 2001 From: Masato Fukushima Date: Sun, 11 Jan 2026 14:50:08 +0900 Subject: [PATCH 2/2] Update CHANGELOG for py.typed addition Co-Authored-By: Claude Opus 4.5 --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index fb27fd61f..e252aa672 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