Skip to content

Commit

Permalink
linters fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Vulwsztyn committed Sep 20, 2024
1 parent 102d825 commit f0339e7
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions redis/client.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import copy
import re
import ssl
import threading
import time
import warnings
from itertools import chain
from typing import Any, Callable, Dict, List, Optional, Type, Union, Mapping, TYPE_CHECKING
from typing import Any, Callable, Dict, List, Mapping, Optional, Type, Union

from redis._cache import (
DEFAULT_ALLOW_LIST,
Expand Down Expand Up @@ -51,10 +52,6 @@
str_if_bytes,
)

if TYPE_CHECKING:
import OpenSSL
import ssl

SYM_EMPTY = b""
EMPTY_RESPONSE = "EMPTY_RESPONSE"

Expand Down Expand Up @@ -205,7 +202,7 @@ def __init__(
ssl_password: Optional[str] = None,
ssl_validate_ocsp: bool = False,
ssl_validate_ocsp_stapled: bool = False,
ssl_ocsp_context: Optional[OpenSSL.SSL.Context] = None,
ssl_ocsp_context=None,
ssl_ocsp_expected_cert: Optional[str] = None,
ssl_min_version: Optional[ssl.TLSVersion] = None,
ssl_ciphers: Optional[str] = None,
Expand Down

0 comments on commit f0339e7

Please sign in to comment.