Skip to content

[FEATURE] Please add py.typed for mypy #907

Description

@ZeeD

To use mypy in strict mode you need to make sure that 3rd party libraries are marked as typed. to do this it's just a matter to add an empty py.typed file in the root package

Is your feature request related to a problem? Please describe.
I want to be able to run mypy and not having
error: Skipping analyzing "fasthtml.common": module is installed, but missing library stubs or py.typed marker [import-untyped]

Describe the solution you'd like
just add a py.typed file in the package

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