From 113ac01f87b6455e1cad1dc096242a95e78d2983 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 4 Jun 2024 08:33:07 +0200 Subject: [PATCH] ci: pre-commit autoupdate (#528) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * ci: pre-commit autoupdate updates: - [github.com/adamchainz/django-upgrade: 1.16.0 → 1.18.0](https://github.com/adamchainz/django-upgrade/compare/1.16.0...1.18.0) - [github.com/codespell-project/codespell: v2.2.6 → v2.3.0](https://github.com/codespell-project/codespell/compare/v2.2.6...v2.3.0) - [github.com/astral-sh/ruff-pre-commit: v0.4.3 → v0.4.7](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.3...v0.4.7) * Update admin_style_tags.py to fix isort issue * Update setup.cfg to fix codespell errors --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Fabian Braun --- .pre-commit-config.yaml | 6 +++--- djangocms_admin_style/templatetags/admin_style_tags.py | 1 + setup.cfg | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 78f81eb1..34c59b5f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,7 +15,7 @@ repos: args: ["--py39-plus"] - repo: https://github.com/adamchainz/django-upgrade - rev: '1.16.0' + rev: '1.18.0' hooks: - id: django-upgrade args: [--target-version, "3.2"] @@ -34,12 +34,12 @@ repos: - id: trailing-whitespace - repo: https://github.com/codespell-project/codespell - rev: v2.2.6 + rev: v2.3.0 hooks: - id: codespell - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.4.3 + rev: v0.4.7 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 10da7711..ca4093db 100644 --- a/djangocms_admin_style/templatetags/admin_style_tags.py +++ b/djangocms_admin_style/templatetags/admin_style_tags.py @@ -5,6 +5,7 @@ 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) diff --git a/setup.cfg b/setup.cfg index 2201b4b7..96d6cec8 100644 --- a/setup.cfg +++ b/setup.cfg @@ -53,5 +53,5 @@ known_cms = cms, menus known_django = django [codespell] -ignore-words-list = cant,statics,groupe,manuel,uptodate +ignore-words-list = cant,statics,groupe,manuel,uptodate,THIRDPARTY,assertIn skip = package-lock.json,*.js,*.js.html,*.po,./.idea/*,./.env/*,./.venv/*,./django_cms.egg-info/*,./.git,*.scss