> pip install -U opencv-python==4.10.0.84 nptyping==2.5.0 mypy==1.10.1
> mypy test.py
test.py:5: error: Parameterized generics cannot be used with class or instance checks [misc]
How to use nptyping with opencv and isinstance() properly so mypy check is passed?
Basic example
test.py
:Run:
How to use
nptyping
withopencv
andisinstance()
properly so mypy check is passed?