PEP-561 describes which typing information might contain package and how to deal with it. Because sqlalchemy-utc doesn't distributed with py.typed file — mypy and other typing checkers cannot "safely" read it.
In few cases it can lead to problems, in my case sqlalchemy-stubs2 cannot infer type from field with UtcDateTime and raise errors like unexpected field in instance init.
This PR adds py.typed to package, so mypy can read from it and do all magic around it.
PEP-561 describes which typing information might contain package and how to deal with it. Because sqlalchemy-utc doesn't distributed with
py.typed
file — mypy and other typing checkers cannot "safely" read it.In few cases it can lead to problems, in my case sqlalchemy-stubs2 cannot infer type from field with UtcDateTime and raise errors like
unexpected field in instance init
.This PR adds
py.typed
to package, so mypy can read from it and do all magic around it.