Removed support for NumPy 1.20 when type checking

This commit is contained in:
Andrew Murray 2025-08-02 18:35:16 +10:00
parent 98d6c3bf88
commit ae6bb29b82

View File

@ -12,8 +12,8 @@ if TYPE_CHECKING:
try:
import numpy.typing as npt
NumpyArray = npt.NDArray[Any] # requires numpy>=1.21
except (ImportError, AttributeError):
NumpyArray = npt.NDArray[Any]
except ImportError:
pass
if sys.version_info >= (3, 13):