Skip to content

Add Type Hinting support/ Implement PEP 561 #54

@ABaumher

Description

@ABaumher

It would be useful for users who wish to use tools such as MyPy to have typing support. Ideally, the calls would be fully type-hinted, and with the inclusion of py.typed, the package would be fully compatible with PEP 561.

If instead, you prefer to do it using stubs, as noted in https://peps.python.org/pep-0561/#stub-only-packages , I have generated some stubs that i use in projects i help maintain. They are available at https://github.com/ABaumher/VDF_Typing . If you have a proper destination for the stubs i can probably draft up a Pull Request to add them in.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions