Skip to content

Ship a py.typed marker so consumers get type-checking #97

Description

@gaurav

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions