xgcm / xhistogram

Fast, flexible, label-aware histograms for numpy and xarray
https://xhistogram.readthedocs.io
MIT License
89 stars 19 forks source link

Add type annotations #42

Open dougiesquire opened 3 years ago

dougiesquire commented 3 years ago

We are now type checking xhistogram using mypy (#38). However, none of the code is static typed at this point.

It would be good to type annotate the existing methods.

Badboy-16 commented 3 years ago

Hi, I would like to work on this issue and will submit a PR in the coming days :)

dougiesquire commented 3 years ago

Great @Badboy-16 , a PR would be very welcome!