ignore missing numpy typing info

master
Jan Petykiewicz 3 years ago
parent fd9f16d705
commit 9c5b902a33

@ -11,7 +11,7 @@ import io
import warnings import warnings
try: try:
import numpy import numpy # type: ignore
_USE_NUMPY = True _USE_NUMPY = True
except ImportError: except ImportError:
_USE_NUMPY = False _USE_NUMPY = False

@ -29,7 +29,7 @@ from .basic import (
) )
if _USE_NUMPY: if _USE_NUMPY:
import numpy import numpy # type: ignore
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)

Loading…
Cancel
Save