Closed gaborbernat closed 2 years ago
import nptyping nptyping.NDArray[nptyping.Shape["*"], nptyping.Float]
❯ venv/bin/mypy --version mypy 0.960 (compiled: yes) ❯ venv/bin/mypy magic.py magic.py:3: error: Value of type variable "_DType_co" of "ndarray" cannot be "floating[Any]" Found 1 error in 1 file (checked 1 source file)
Thank you for reporting this, that's a nasty one that slipped through! ☹️ I'm working hard on a fix.