Skip to content

Commit a78690a

Browse files
committed
Removed blank lines in imports
1 parent bed4d73 commit a78690a

File tree

5 files changed

+0
-11
lines changed

5 files changed

+0
-11
lines changed

redis/cache.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
from abc import ABC, abstractmethod
2-
from typing import TypeVar
32
from enum import Enum
4-
53
from cachetools import LRUCache, LFUCache, RRCache, Cache, TTLCache
64

7-
T = TypeVar("T")
8-
95

106
class EvictionPolicy(Enum):
117
LRU = "LRU"

redis/client.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@
55
import warnings
66
from itertools import chain
77
from typing import Any, Callable, Dict, List, Optional, Type, Union
8-
98
from cachetools import Cache
10-
119
from redis._parsers.encoders import Encoder
1210
from redis._parsers.helpers import (
1311
_RedisCallbacks,

redis/cluster.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@
55
import time
66
from collections import OrderedDict
77
from typing import Any, Callable, Dict, List, Optional, Tuple, Union
8-
98
from cachetools import Cache
10-
119
from redis._parsers import CommandsParser, Encoder
1210
from redis._parsers.helpers import parse_scan
1311
from redis.backoff import default_backoff

tests/conftest.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
from unittest import mock
66
from unittest.mock import Mock
77
from urllib.parse import urlparse
8-
98
import pytest
109
import redis
1110
from packaging.version import Version

tests/test_cache.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
import threading
22
import time
3-
43
import pytest
54
from cachetools import TTLCache, LRUCache, LFUCache
6-
75
import redis
86
from redis.cache import EvictionPolicy, CacheClass
97
from redis.utils import HIREDIS_AVAILABLE

0 commit comments

Comments
 (0)