Now that babel_validation is consumed as a library (see #95 / #96), its many type hints are invisible to downstream type-checkers because the package has no py.typed marker.
Proposal
- Add an empty
src/babel_validation/py.typed.
- Ensure the wheel ships it (hatchling includes package data by default, but verify with
uv build + inspecting the wheel).
- Optionally tighten/complete public type hints on the surface exported from
babel_validation/__init__.py (Assertion, run_issue_tests, IssueReport, etc.).
Benefit: Babel and Babel Explorer get IDE/mypy/pyright support against the public API, catching misuse at author time.
Filed as a follow-up to the library carve-out (#67).
Now that
babel_validationis consumed as a library (see #95 / #96), its many type hints are invisible to downstream type-checkers because the package has nopy.typedmarker.Proposal
src/babel_validation/py.typed.uv build+ inspecting the wheel).babel_validation/__init__.py(Assertion,run_issue_tests,IssueReport, etc.).Benefit: Babel and Babel Explorer get IDE/mypy/pyright support against the public API, catching misuse at author time.
Filed as a follow-up to the library carve-out (#67).