File size: 736 Bytes
8d5620b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | # mypy: ignore-errors
from __future__ import annotations
import numpy
if numpy.__version__ < '2':
from numpy import AxisError # NOQA
from numpy import ComplexWarning # NOQA
from numpy import ModuleDeprecationWarning # NOQA
from numpy import TooHardError # NOQA
from numpy import VisibleDeprecationWarning # NOQA
from numpy import RankWarning # NOQA
else:
from numpy.exceptions import AxisError # NOQA
from numpy.exceptions import ComplexWarning # NOQA
from numpy.exceptions import ModuleDeprecationWarning # NOQA
from numpy.exceptions import TooHardError # NOQA
from numpy.exceptions import VisibleDeprecationWarning # NOQA
from numpy.exceptions import RankWarning # NOQA
|