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
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.
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.tomlmypy config. Feel free to contribute to this effort.
I will keep the issue open as a reminder to add py.typed later.
Activity
🏷️ Add cleo to typing ignore
xkortex commentedon Nov 23, 2021
Hi, any progress on this?
This would be really convenient. Cleo is already type annotated, I think just the
py.typedis necessary to quash "no type hints or library stubs".Thanks!
NiklasRosenstein commentedon Jan 24, 2022
@sdispater Could you provide an update on this issue? Thanks!
Secrus commentedon Jul 25, 2022
We are working on properly typing Cleo at the moment. When the work is done,
py.typedmay be added. You can track the progress by looking at what modules are still listed inpyroject.tomlmypyconfig. Feel free to contribute to this effort.I will keep the issue open as a reminder to add
py.typedlater.