From f8b9c634c01161e16cf96510312f224a1f90b135 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 29 Jul 2024 22:32:54 +0200 Subject: [PATCH] ci: pre-commit autoupdate (#529) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * ci: pre-commit autoupdate 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) * ci: auto fixes from pre-commit 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 | 6 +++--- djangocms_admin_style/templatetags/admin_style_tags.py | 1 - 2 files changed, 3 insertions(+), 4 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] 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)