From 3946d53b731e642299b9aa6ae108ec0d7683d790 Mon Sep 17 00:00:00 2001 From: Jona Koudijs Date: Fri, 22 Sep 2023 15:14:18 +0200 Subject: [PATCH] Add Black recommendations --- src/functions.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/functions.py b/src/functions.py index d459822..694ec19 100644 --- a/src/functions.py +++ b/src/functions.py @@ -96,13 +96,10 @@ def redis_connection(): rds = redis.Redis( host=os.environ["REDIS_HOST"], port=os.environ["REDIS_PORT"], - password=os.environ["REDIS_PASSWORD"] + password=os.environ["REDIS_PASSWORD"], ) else: - rds = redis.Redis( - host=os.environ["REDIS_HOST"], - port=os.environ["REDIS_PORT"] - ) + rds = redis.Redis(host=os.environ["REDIS_HOST"], port=os.environ["REDIS_PORT"]) # return connection return rds