mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Fix CI by ignore type for None module import (#9709)
This commit is contained in:
parent
fc53a606e4
commit
5fdff97719
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:
|
try:
|
||||||
import hiredis
|
import hiredis
|
||||||
except ImportError:
|
except ImportError:
|
||||||
hiredis = None
|
hiredis = None # type: ignore
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user