Skip to content

Provide py.typed #102

@rgbkrk

Description

@rgbkrk

Is your feature request related to a problem? Please describe.

When this package is used from a workspace that uses mypy it will show up with the error:

Skipping analyzing "origami": module is installed, but missing library stubs or py.typed marker 

You wrote all these types! Let's make them usable for anyone using the SDK.

Describe the solution you'd like

One of the options that mypy recommends: https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-library-stubs-or-py-typed-marker

Describe alternatives you've considered

I have to put this in my pyproject.toml for the moment:

[[tool.mypy.overrides]]
module = "origami.client"
ignore_missing_imports = true

[[tool.mypy.overrides]]
module = "origami.defs.rtu"
ignore_missing_imports = true

[[tool.mypy.overrides]]
module = "origami.defs.deltas"
ignore_missing_imports = true

[[tool.mypy.overrides]]
module = "origami.defs.files"
ignore_missing_imports = true

Additional context

💙

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions