From b736a0eef0899ffd3a11520690cc2d42841cfc8e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 30 Jan 2024 08:59:17 +0100 Subject: [PATCH] [pre-commit.ci] pre-commit autoupdate (#790) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/psf/black: 23.12.1 → 24.1.1](https://github.com/psf/black/compare/23.12.1...24.1.1) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 2 +- djangocms_blog/settings.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 69b126e5..69fad3f7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,7 +22,7 @@ repos: hooks: - id: isort - repo: https://github.com/psf/black - rev: 23.12.1 + rev: 24.1.1 hooks: - id: black - repo: https://github.com/astral-sh/ruff-pre-commit diff --git a/djangocms_blog/settings.py b/djangocms_blog/settings.py index fe135dad..b365015c 100644 --- a/djangocms_blog/settings.py +++ b/djangocms_blog/settings.py @@ -1,6 +1,7 @@ """ List of settings that can be set in project django settings. """ + from django.utils.translation import gettext_lazy as _ from meta import settings as meta_settings