Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating dev dependencies #2475

Merged
merged 3 commits into from Dec 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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