Skip to content

Commit

Permalink
Updating dev dependencies (#2475)
Browse files Browse the repository at this point in the history
  • Loading branch information
chayim committed Dec 4, 2022
1 parent f32c835 commit 938ba6d
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 12 deletions.
12 changes: 6 additions & 6 deletions dev_requirements.txt
@@ -1,17 +1,17 @@
click==8.0.4
black==22.3.0
flake8==4.0.1
flake8==5.0.4
flynt~=0.69.0
isort==5.10.1
mock==4.0.3
packaging>=20.4
pytest==6.2.5
pytest==7.2.0
pytest-timeout==2.0.1
pytest-asyncio>=0.16.0
tox==3.24.4
pytest-asyncio>=0.20.2
tox==3.27.1
tox-docker==3.1.0
invoke==1.6.0
pytest-cov>=3.0.0
invoke==1.7.3
pytest-cov>=4.0.0
vulture>=2.3.0
ujson>=4.2.0
wheel>=0.30.0
Expand Down
4 changes: 2 additions & 2 deletions redis/ocsp.py
Expand Up @@ -189,8 +189,8 @@ def _bin2ascii(self, der):
return cert

def components_from_socket(self):
"""This function returns the certificate, primary issuer, and primary ocsp server
in the chain for a socket already wrapped with ssl.
"""This function returns the certificate, primary issuer, and primary ocsp
server in the chain for a socket already wrapped with ssl.
"""

# convert the binary certifcate to text
Expand Down
6 changes: 4 additions & 2 deletions tests/test_asyncio/test_graph.py
Expand Up @@ -262,7 +262,8 @@ async def test_cached_execution(modclient: redis.Redis):

@pytest.mark.redismod
async def test_slowlog(modclient: redis.Redis):
create_query = """CREATE (:Rider {name:'Valentino Rossi'})-[:rides]->(:Team {name:'Yamaha'}),
create_query = """CREATE
(:Rider {name:'Valentino Rossi'})-[:rides]->(:Team {name:'Yamaha'}),
(:Rider {name:'Dani Pedrosa'})-[:rides]->(:Team {name:'Honda'}),
(:Rider {name:'Andrea Dovizioso'})-[:rides]->(:Team {name:'Ducati'})"""
await modclient.graph().query(create_query)
Expand Down Expand Up @@ -395,7 +396,8 @@ async def test_multi_label(modclient: redis.Redis):
@pytest.mark.redismod
async def test_execution_plan(modclient: redis.Redis):
redis_graph = modclient.graph("execution_plan")
create_query = """CREATE (:Rider {name:'Valentino Rossi'})-[:rides]->(:Team {name:'Yamaha'}),
create_query = """CREATE
(:Rider {name:'Valentino Rossi'})-[:rides]->(:Team {name:'Yamaha'}),
(:Rider {name:'Dani Pedrosa'})-[:rides]->(:Team {name:'Honda'}),
(:Rider {name:'Andrea Dovizioso'})-[:rides]->(:Team {name:'Ducati'})"""
await redis_graph.query(create_query)
Expand Down
6 changes: 4 additions & 2 deletions tests/test_graph.py
Expand Up @@ -280,7 +280,8 @@ def test_cached_execution(client):

@pytest.mark.redismod
def test_slowlog(client):
create_query = """CREATE (:Rider {name:'Valentino Rossi'})-[:rides]->(:Team {name:'Yamaha'}),
create_query = """CREATE (:Rider
{name:'Valentino Rossi'})-[:rides]->(:Team {name:'Yamaha'}),
(:Rider {name:'Dani Pedrosa'})-[:rides]->(:Team {name:'Honda'}),
(:Rider {name:'Andrea Dovizioso'})-[:rides]->(:Team {name:'Ducati'})"""
client.graph().query(create_query)
Expand Down Expand Up @@ -486,7 +487,8 @@ def test_cache_sync(client):
@pytest.mark.redismod
def test_execution_plan(client):
redis_graph = client.graph("execution_plan")
create_query = """CREATE (:Rider {name:'Valentino Rossi'})-[:rides]->(:Team {name:'Yamaha'}),
create_query = """CREATE
(:Rider {name:'Valentino Rossi'})-[:rides]->(:Team {name:'Yamaha'}),
(:Rider {name:'Dani Pedrosa'})-[:rides]->(:Team {name:'Honda'}),
(:Rider {name:'Andrea Dovizioso'})-[:rides]->(:Team {name:'Ducati'})"""
redis_graph.query(create_query)
Expand Down

0 comments on commit 938ba6d

Please sign in to comment.