mirror of
https://github.com/davidhalter/jedi.git
synced 2026-04-25 03:43:59 +08:00
Fix a lot of test related typing issues
This commit is contained in:
@@ -11,14 +11,14 @@ import jedi
|
||||
from ..helpers import test_dir
|
||||
|
||||
try:
|
||||
import numpydoc # NOQA
|
||||
import numpydoc # type: ignore[import-not-found] # NOQA
|
||||
except ImportError:
|
||||
numpydoc_unavailable = True
|
||||
else:
|
||||
numpydoc_unavailable = False
|
||||
|
||||
try:
|
||||
import numpy # NOQA
|
||||
import numpy # type: ignore[import-not-found] # NOQA
|
||||
except ImportError:
|
||||
numpy_unavailable = True
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user