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
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.typedmeans that type checkers such asmypy,pylance, ortydo 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.typedwould 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