From 9eaff43ca813801b0ffd8f351fbf244e28418d71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Ber=C3=A1nek?= Date: Thu, 5 Sep 2024 14:51:47 +0200 Subject: [PATCH] Reformat code --- kelvin/settings.py | 9 ++------- kelvin/urls.py | 2 +- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/kelvin/settings.py b/kelvin/settings.py index 07110251..1a2107f1 100644 --- a/kelvin/settings.py +++ b/kelvin/settings.py @@ -172,7 +172,7 @@ "LOCATION": redis_connection, "OPTIONS": { "CLIENT_CLASS": "django_redis.client.DefaultClient", - } + }, } } @@ -191,12 +191,7 @@ } # For django-tasks-scheduler -SCHEDULER_QUEUES = { - "default": { - "HOST": redis_host, - "PORT": redis_port - } -} +SCHEDULER_QUEUES = {"default": {"HOST": redis_host, "PORT": redis_port}} LOGGING = { "version": 1, diff --git a/kelvin/urls.py b/kelvin/urls.py index da39758f..3d9edeae 100644 --- a/kelvin/urls.py +++ b/kelvin/urls.py @@ -35,7 +35,7 @@ path("survey/", include("survey.urls")), path("webpush/", include("webpush.urls")), # For django-tasks-scheduler - path('scheduler/', include('scheduler.urls')), + path("scheduler/", include("scheduler.urls")), ] if settings.DEBUG: