ignore missing numpy typing info
This commit is contained in:
parent
fd9f16d705
commit
9c5b902a33
@ -11,7 +11,7 @@ import io
|
||||
import warnings
|
||||
|
||||
try:
|
||||
import numpy
|
||||
import numpy # type: ignore
|
||||
_USE_NUMPY = True
|
||||
except ImportError:
|
||||
_USE_NUMPY = False
|
||||
|
@ -29,7 +29,7 @@ from .basic import (
|
||||
)
|
||||
|
||||
if _USE_NUMPY:
|
||||
import numpy
|
||||
import numpy # type: ignore
|
||||
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
Loading…
Reference in New Issue
Block a user