Skip to content

Cleo isn't PEP 561 compatible package #74

Closed

Description

@b0g3r

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.

Activity

  1. added a commit that references this issue on Nov 2, 2019
  2. xkortex commented on Nov 23, 2021

    @xkortex

    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!

  3. NiklasRosenstein commented on Jan 24, 2022

    @NiklasRosenstein

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

  4. Secrus commented on Jul 25, 2022

    @Secrus
    Member

    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.

  5. added this to the 1.0 milestone on Sep 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions