Skip to content

Adding py.typed markers #143

Description

@mcocdawc

What maintenance does this project need?

If there are no objections, I would like to propose adding py.typed marker files to our codebase.

We already include type hints in parts of the project; however, the absence of py.typed means that type checkers such as mypy, pylance, or tydo not recognise the package as typed. As a result, when this library is used in an otherwise typed codebase, it is effectively treated as untyped, and the existing annotations are not utilised.

Adding py.typed would not impose any requirement to fully type the codebase, but it would enable downstream tooling to correctly consume and benefit from the type information that is already present.

Organisation

ECMWF

Metadata

Metadata

Assignees

Projects

Status
To be triaged

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions