Skip to content

Expose type information #283

@hmc-cs-mdrissi

Description

@hmc-cs-mdrissi

Would it be doable to add a py.typed file so that the type hints present are usable for code that imports tft. I see tft codebase looks well type hinted, but if I run pyright/mypy on functions imported from tft since py.typed is missing it's treated all like Any.

https://peps.python.org/pep-0561/ explains purpose of this file.

Edit: If you would be comfortable exposing type information then I’d be happy to make a small pr for packaging change needed.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions