Fix CI by ignore type for None module import (#9709)
This commit is contained in:
1
changelog.d/9709.misc
Normal file
1
changelog.d/9709.misc
Normal file
@@ -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__)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user