Skip to content

Type hints #65

@gitpushdashf

Description

@gitpushdashf

Hi,

This is an awesome project! I'm trying to incorporate it into a codebase that has type checking done with mypy. It looks like the type hints aren't loaded because there's no py.typed file.

This generally requires creating a py.typed empty file and two extra lines in setup.py.

https://mypy.readthedocs.io/en/latest/installed_packages.html#creating-pep-561-compatible-packages

Is this something you would be interested in? I see there's some type hints already. It's not a bad idea to test the hints with mypy, either.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions