ignore missing numpy typing info

This commit is contained in:
Jan Petykiewicz 2021-07-30 22:47:28 -07:00
parent fd9f16d705
commit 9c5b902a33
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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__)