Fix CI by ignore type for None module import (#9709)

This commit is contained in:
Andrew Morgan 2021-03-29 14:42:38 +01:00 committed by GitHub
parent fc53a606e4
commit 5fdff97719
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

1
changelog.d/9709.misc Normal file
View File

@ -0,0 +1 @@
Fix type-checking CI on develop.

View File

@ -44,7 +44,7 @@ from tests.server import FakeTransport
try:
import hiredis
except ImportError:
hiredis = None
hiredis = None # type: ignore
logger = logging.getLogger(__name__)