polsys / ennemi

Easy Nearest Neighbor Estimation of Mutual Information
https://polsys.github.io/ennemi/
MIT License
35 stars 12 forks source link

Incorporate NumPy/SciPy into type checking #48

Open polsys opened 4 years ago

polsys commented 4 years ago

NumPy is adding type annotations in 1.20 (due December?). We can then stop ignoring it in mypy runs. It looks like SciPy 1.6.0 (in December as well?) may support the annotations as well. It appears that Pandas is not releasing their annotations either yet.

polsys commented 3 years ago

After #81 there is a nasty error code exclusion in mypy.ini. This should be removed, and all # type: ignore (and maybe all # type) comments reviewed.

polsys commented 3 years ago

The work continues with the next NumPy/SciPy versions... slowly getting there!

polsys commented 3 weeks ago

The latest update led to me adding some #type: ignore comments... I'm not feeling like sorting them out now, so this will be continued in the next release.