KieranWynn / pyquaternion

A fully featured, pythonic library for representing and using quaternions
http://kieranwynn.github.io/pyquaternion/
MIT License
339 stars 68 forks source link

We have Python type stub file (*.pyi) for Pyquaternion #58

Closed polalab closed 3 years ago

polalab commented 4 years ago

Hi, To be able to run type checks on our code using Pyquaternion, we have created a pyi file for pyquaternion. This allows mypy to check if we are using it correctly (and makes IDEs like PyCharm autocomplete methods for Quaternion objects). Do you want to include it in your package?

The file is attached, so that you can have a look: quaternion.zip

KieranWynn commented 3 years ago

Thank you @polalab Hoping to add types in 1.0 release - this will be handy as a starting point.