cleo icon indicating copy to clipboard operation
cleo copied to clipboard

Cleo isn't PEP 561 compatible package

Open b0g3r opened this issue 5 years ago • 3 comments

I found that cleo has typing, but mypy in my project which used cleo throw errors like this: Cannot find implementation or library stub for module named 'cleo'

It's because cleo doesn't have py.typed marker file and not PEP-561 compatible

@sdispater If you think it is a good idea, I can create this file, include it to package and fix a few type-errors in the project in a new PR.

b0g3r avatar Nov 02 '19 20:11 b0g3r

Hi, any progress on this?

This would be really convenient. Cleo is already type annotated, I think just the py.typed is necessary to quash "no type hints or library stubs".

Thanks!

xkortex avatar Nov 23 '21 18:11 xkortex

@sdispater Could you provide an update on this issue? Thanks!

NiklasRosenstein avatar Jan 24 '22 17:01 NiklasRosenstein

We are working on properly typing Cleo at the moment. When the work is done, py.typed may be added. You can track the progress by looking at what modules are still listed in pyroject.toml mypy config. Feel free to contribute to this effort. I will keep the issue open as a reminder to add py.typed later.

Secrus avatar Jul 25 '22 09:07 Secrus