From 2374709e2cdd2b3479d9f7a85cde9f8ca368f071 Mon Sep 17 00:00:00 2001 From: almaz amanzholuly Date: Sun, 24 Mar 2024 12:30:18 +0500 Subject: [PATCH] clean-up --- django/core/checks/caches.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/django/core/checks/caches.py b/django/core/checks/caches.py index 0e469d4f96..a98da2c822 100644 --- a/django/core/checks/caches.py +++ b/django/core/checks/caches.py @@ -64,10 +64,12 @@ def check_file_based_cache_is_absolute(app_configs, **kwargs): location is not None and not pathlib.Path(location).is_absolute() ): - return [Warning( - f"Your '{alias_name}' cache LOCATION path is relative. Use an " - f"absolute path instead.", - id="caches.W003", - )] + return [ + Warning( + f"Your '{alias_name}' cache LOCATION path is relative. Use an " + f"absolute path instead.", + id="caches.W003", + ) + ] return []