We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57cc786 commit 089c968Copy full SHA for 089c968
3 files changed
.pre-commit-config.yaml
@@ -7,7 +7,7 @@ repos:
7
- id: black
8
9
- repo: https://github.com/sqlalchemyorg/zimports
10
- rev: v0.4.0
+ rev: v0.4.1
11
hooks:
12
- id: zimports
13
args:
dogpile/cache/backends/memcached.py
@@ -22,8 +22,7 @@
22
import memcache
23
import pylibmc
24
import pymemcache
25
-
26
-if not typing.TYPE_CHECKING:
+else:
27
# delayed import
28
bmemcached = None # noqa F811
29
memcache = None # noqa F811
dogpile/cache/backends/redis.py
@@ -16,8 +16,7 @@
16
17
if typing.TYPE_CHECKING:
18
import redis
19
20
21
redis = None # noqa F811
0 commit comments