summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChayim <chayim@users.noreply.github.com>2022-12-04 10:25:52 +0200
committerGitHub <noreply@github.com>2022-12-04 10:25:52 +0200
commit938ba6d2a5439c4703e3451d2d17e41222716ae6 (patch)
treee71589cffd39c1d886686e93ef53baf3fa004376
parentf32c835e78a4675b3147de5cc3a8337eba3b0ab6 (diff)
downloadredis-py-938ba6d2a5439c4703e3451d2d17e41222716ae6.tar.gz
Updating dev dependencies (#2475)
-rw-r--r--dev_requirements.txt12
-rw-r--r--redis/ocsp.py4
-rw-r--r--tests/test_asyncio/test_graph.py6
-rw-r--r--tests/test_graph.py6
4 files changed, 16 insertions, 12 deletions
diff --git a/dev_requirements.txt b/dev_requirements.txt
index 66be6d1..8285b04 100644
--- a/dev_requirements.txt
+++ b/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
diff --git a/redis/ocsp.py b/redis/ocsp.py
index 0d2c0fc..ab8a35a 100644
--- a/redis/ocsp.py
+++ b/redis/ocsp.py
@@ -189,8 +189,8 @@ class OCSPVerifier:
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
diff --git a/tests/test_asyncio/test_graph.py b/tests/test_asyncio/test_graph.py
index 0c011bd..7824256 100644
--- a/tests/test_asyncio/test_graph.py
+++ b/tests/test_asyncio/test_graph.py
@@ -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)
@@ -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)
diff --git a/tests/test_graph.py b/tests/test_graph.py
index a46c336..cc6433c 100644
--- a/tests/test_graph.py
+++ b/tests/test_graph.py
@@ -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)
@@ -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)