Fix CI by ignore type for None module import (#9709)
parent
fc53a606e4
commit
5fdff97719
|
@ -0,0 +1 @@
|
|||
Fix type-checking CI on develop.
|
|
@ -44,7 +44,7 @@ from tests.server import FakeTransport
|
|||
try:
|
||||
import hiredis
|
||||
except ImportError:
|
||||
hiredis = None
|
||||
hiredis = None # type: ignore
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
|
Loading…
Reference in New Issue