polsys / ennemi

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

Update typing for NumPy 1.20 #81

Closed polsys closed 3 years ago

polsys commented 3 years ago

Part of #48. Enable type annotations for NumPy now that they exist. To support NumPy 1.20, replace np.bool with bool etc.

Had to disable one error message because of numerous false positives. This is an issue since there seems to be no way to suppress only this specific method.