Skip to content

Commit adb1ed0

Browse files
committed
lint
1 parent 73373b7 commit adb1ed0

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

redis/sentinel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import random
22
import weakref
3-
from typing import Any, Iterable, Optional
43
from collections import defaultdict
4+
from typing import Any, Iterable, Optional
55

66
from redis.client import Redis
77
from redis.commands import SentinelCommands

tests/test_connection.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,4 +346,3 @@ def test_unix_socket_connection_failure():
346346
str(e.value)
347347
== "Error 2 connecting to unix:///tmp/a.sock. No such file or directory."
348348
)
349-

tests/test_sentinel.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import pytest
55
import redis.sentinel
66
from redis import exceptions
7+
from redis.connection import Connection
78
from redis.sentinel import (
89
ConnectionsIndexer,
910
MasterNotFoundError,

0 commit comments

Comments
 (0)