Closed JacobHenner closed 1 year ago
I started a new branch, added the py.typed
file. The module indeed has some type annotations, and I'm trying to improve it, but it's unlikely that it's every going to be perfect. A lots of dynamic feature is going on under the hood.
The py.typed
file is included in the latest 1.5.1 release.
But like I said, the type annotations aren't the best of the module. Made a couple of bad design decisions over the years in regard of typings, that could only be addressed in a new, major release version. Not sure that's ever going to happen, though.
bonsai appears to be missing PEP 561 type information, even though bonsai itself has type annotations. This is preventing mypy from type checking when the library is used in other projects: