Skip to content

Types are not exported #163

Closed
Closed
@gijswobben

Description

@gijswobben

mypy is complaining that the decorators don't have types:

image

The package does have types, also on the decorators, but they are not exported because there is not py.typed file. The easy fix is to add this file and release a new version of the package.

More information about py.typed:
https://peps.python.org/pep-0561/
https://mypy.readthedocs.io/en/stable/installed_packages.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingmypyRelated to mypy lintingtypesRelated to type hints

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions