You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nowcasting_datamodel is typed (to some extent), but when used as a dependency, the types are ignored by mypy unless a py.typed file is provided (See https://peps.python.org/pep-0561/).
Context
We use nowcasting_datamodel as a dependency in pv-site-production and it would be nice for mypy to be able to use the types from nowcasting_datamodel.
It would be useful for any other package depending on nowcasting_datamodel that wants to use mypy.
nowcasting_datamodel
is typed (to some extent), but when used as a dependency, the types are ignored bymypy
unless apy.typed
file is provided (See https://peps.python.org/pep-0561/).Context
We use
nowcasting_datamodel
as a dependency inpv-site-production
and it would be nice formypy
to be able to use the types fromnowcasting_datamodel
.It would be useful for any other package depending on
nowcasting_datamodel
that wants to usemypy
.Possible Implementation
Add file
/nowcasting_datamodel/py.typed
Add
to
/setup.py
.Example of implementation in
pv-site-prediction
but with poetry.The text was updated successfully, but these errors were encountered: