Skip to content

Commit ad780fa

Browse files
committed
linters
1 parent 69e1594 commit ad780fa

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

redis/cluster.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def parse_cluster_shards(resp, **options):
105105
dict_node[node[i]] = node[i + 1]
106106
shard["nodes"].append(dict_node)
107107
shards.append(shard)
108-
108+
109109
return shards
110110

111111

redis/commands/cluster.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ def cluster_slots(self, target_nodes=None):
556556
For more information see https://redis.io/commands/cluster-slots
557557
"""
558558
return self.execute_command("CLUSTER SLOTS", target_nodes=target_nodes)
559-
559+
560560
def cluster_shards(self, target_nodes=None):
561561
"""
562562
Returns details about the shards of the cluster.

tests/test_cluster.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -871,7 +871,7 @@ def test_cluster_shards(self, r):
871871
"tls-port",
872872
"role",
873873
"replication-offset",
874-
"health"
874+
"health",
875875
]
876876
for x in cluster_shards:
877877
assert list(x.keys()) == ["slots", "nodes"]

0 commit comments

Comments
 (0)