Skip to content

Commit bc46812

Browse files
committed
flake8 changes along the way apparently
1 parent b80dd00 commit bc46812

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

redis/ocsp.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,9 @@ def _bin2ascii(self, der):
189189
return cert
190190

191191
def components_from_socket(self):
192-
"""This function returns the certificate, primary issuer, and primary ocsp server
193-
in the chain for a socket already wrapped with ssl.
192+
"""This function returns the certificate, primary issuer, and
193+
primary ocsp server in the chain for a socket already
194+
wrapped with ssl.
194195
"""
195196

196197
# convert the binary certifcate to text

tests/test_asyncio/test_graph.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ async def test_cached_execution(modclient: redis.Redis):
264264
async def test_slowlog(modclient: redis.Redis):
265265
create_query = """CREATE (:Rider {name:'Valentino Rossi'})-[:rides]->(:Team {name:'Yamaha'}),
266266
(:Rider {name:'Dani Pedrosa'})-[:rides]->(:Team {name:'Honda'}),
267-
(:Rider {name:'Andrea Dovizioso'})-[:rides]->(:Team {name:'Ducati'})"""
267+
(:Rider {name:'Andrea Dovizioso'})-[:rides]->(:Team {name:'Ducati'})""" # noqa
268268
await modclient.graph().query(create_query)
269269

270270
results = await modclient.graph().slowlog()
@@ -397,7 +397,7 @@ async def test_execution_plan(modclient: redis.Redis):
397397
redis_graph = modclient.graph("execution_plan")
398398
create_query = """CREATE (:Rider {name:'Valentino Rossi'})-[:rides]->(:Team {name:'Yamaha'}),
399399
(:Rider {name:'Dani Pedrosa'})-[:rides]->(:Team {name:'Honda'}),
400-
(:Rider {name:'Andrea Dovizioso'})-[:rides]->(:Team {name:'Ducati'})"""
400+
(:Rider {name:'Andrea Dovizioso'})-[:rides]->(:Team {name:'Ducati'})""" # noqa
401401
await redis_graph.query(create_query)
402402

403403
result = await redis_graph.execution_plan(

tests/test_graph.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ def test_cached_execution(client):
282282
def test_slowlog(client):
283283
create_query = """CREATE (:Rider {name:'Valentino Rossi'})-[:rides]->(:Team {name:'Yamaha'}),
284284
(:Rider {name:'Dani Pedrosa'})-[:rides]->(:Team {name:'Honda'}),
285-
(:Rider {name:'Andrea Dovizioso'})-[:rides]->(:Team {name:'Ducati'})"""
285+
(:Rider {name:'Andrea Dovizioso'})-[:rides]->(:Team {name:'Ducati'})""" # noqa
286286
client.graph().query(create_query)
287287

288288
results = client.graph().slowlog()
@@ -488,7 +488,7 @@ def test_execution_plan(client):
488488
redis_graph = client.graph("execution_plan")
489489
create_query = """CREATE (:Rider {name:'Valentino Rossi'})-[:rides]->(:Team {name:'Yamaha'}),
490490
(:Rider {name:'Dani Pedrosa'})-[:rides]->(:Team {name:'Honda'}),
491-
(:Rider {name:'Andrea Dovizioso'})-[:rides]->(:Team {name:'Ducati'})"""
491+
(:Rider {name:'Andrea Dovizioso'})-[:rides]->(:Team {name:'Ducati'})""" # noqa
492492
redis_graph.query(create_query)
493493

494494
result = redis_graph.execution_plan(

0 commit comments

Comments
 (0)