Open Ravencentric opened 5 days ago
IDEs and type checkers cannot determine what this package offers due to it not being written in pure python. This can be solved by providing a stub file.
See: https://typing.readthedocs.io/en/latest/guides/libraries.html#how-to-provide-type-annotations Example: https://github.com/messense/nh3/blob/main/nh3.pyi (python bindings for another rust library)
Good idea! Thanks for the links, will do it when I have time.
IDEs and type checkers cannot determine what this package offers due to it not being written in pure python. This can be solved by providing a stub file.
See: https://typing.readthedocs.io/en/latest/guides/libraries.html#how-to-provide-type-annotations Example: https://github.com/messense/nh3/blob/main/nh3.pyi (python bindings for another rust library)