Skip to content

Add full mypy type annotation coverage and restore PEP 561 support #692

@joe-clickhouse

Description

@joe-clickhouse

The py.typed marker will be removed in 1.0 because annotation coverage wasn't complete enough to fulfill the PEP 561 contract. This issue tracks the work required to get there.

  1. Add mypy to CI
  2. Complete return type annotations on all public methods, especially the DB-API and SQLAlchemy layers
  3. Fill in missing property return types across QueryResult, QuerySummary, and Client
  4. Annotate module-level utility functions in common.py, httputil.py, and parser.py
  5. Restore py.typed marker and package_data entry once passing cleanly

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions