Type annotation errors with NumPy >= 2.2
NumPy 2.2 made some changes to type annotations, which lead to errors when running mypy quantities. The release notes for NumPy 2.2.1 mention some problems with MyPy, and recommend using basedpyright.
NumPy 2.2 made some changes to type annotations, which lead to errors when running mypy quantities. The release notes for NumPy 2.2.1 mention some problems with MyPy, and recommend using basedpyright.