Skip to content

Commit 7644229

Browse files
committed
linters fixed
1 parent 102d825 commit 7644229

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

redis/client.py

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
import copy
22
import re
3+
import ssl
34
import threading
45
import time
56
import warnings
67
from itertools import chain
7-
from typing import Any, Callable, Dict, List, Optional, Type, Union, Mapping, TYPE_CHECKING
8+
from typing import Any, Callable, Dict, List, Mapping, Optional, Type, Union
89

10+
import OpenSSL
911
from redis._cache import (
1012
DEFAULT_ALLOW_LIST,
1113
DEFAULT_DENY_LIST,
@@ -51,10 +53,6 @@
5153
str_if_bytes,
5254
)
5355

54-
if TYPE_CHECKING:
55-
import OpenSSL
56-
import ssl
57-
5856
SYM_EMPTY = b""
5957
EMPTY_RESPONSE = "EMPTY_RESPONSE"
6058

0 commit comments

Comments
 (0)