pycyphal icon indicating copy to clipboard operation
pycyphal copied to clipboard

py.typed Typing

Open manforowicz opened this issue 1 year ago • 1 comments

According to PEP 561,

Package maintainers who wish to support type checking of their code MUST add a marker file named py.typed to their package supporting typing.

I noticed that MyPy refuses to type-check pycyphal, and auto-generated DSDLs because they don't have a py.typed file.

Would it be a good idea to add a py.typed file to library code and auto-generated DSDLs?

manforowicz avatar Jun 21 '24 18:06 manforowicz

yes please

pavel-kirienko avatar Jun 21 '24 19:06 pavel-kirienko