From 4e886ca4bcc8d72f51224b1060ba86d268b2f72d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 1 Jul 2024 20:02:14 +0000 Subject: [PATCH 1/2] ci: pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/asottile/pyupgrade: v3.15.2 → v3.16.0](https://github.com/asottile/pyupgrade/compare/v3.15.2...v3.16.0) - [github.com/adamchainz/django-upgrade: 1.18.0 → 1.19.0](https://github.com/adamchainz/django-upgrade/compare/1.18.0...1.19.0) - [github.com/astral-sh/ruff-pre-commit: v0.4.7 → v0.5.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.7...v0.5.0) --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 34c59b5f..b0914e7b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,13 +9,13 @@ ci: repos: - repo: https://github.com/asottile/pyupgrade - rev: v3.15.2 + rev: v3.16.0 hooks: - id: pyupgrade args: ["--py39-plus"] - repo: https://github.com/adamchainz/django-upgrade - rev: '1.18.0' + rev: '1.19.0' hooks: - id: django-upgrade args: [--target-version, "3.2"] @@ -39,7 +39,7 @@ repos: - id: codespell - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.4.7 + rev: v0.5.0 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From 6f51bbe35b197fe89d5619bbd8d23df005992195 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 1 Jul 2024 20:02:39 +0000 Subject: [PATCH 2/2] ci: auto fixes from pre-commit hooks for more information, see https://pre-commit.ci --- djangocms_admin_style/templatetags/admin_style_tags.py | 1 - 1 file changed, 1 deletion(-) diff --git a/djangocms_admin_style/templatetags/admin_style_tags.py b/djangocms_admin_style/templatetags/admin_style_tags.py index ca4093db..10da7711 100644 --- a/djangocms_admin_style/templatetags/admin_style_tags.py +++ b/djangocms_admin_style/templatetags/admin_style_tags.py @@ -5,7 +5,6 @@ from django.template.loader import render_to_string from django.utils.translation import gettext - # We follow the Semantic versioning convention # minor - Refers to the minor release track (3.x.1) # patch - Refers to the patch release track (3.4.x)