Skip to content

Commit

Permalink
ci: pre-commit autoupdate (#528)
Browse files Browse the repository at this point in the history
* ci: pre-commit autoupdate

updates:
- [github.com/adamchainz/django-upgrade: 1.16.0 → 1.18.0](adamchainz/django-upgrade@1.16.0...1.18.0)
- [github.com/codespell-project/codespell: v2.2.6 → v2.3.0](codespell-project/codespell@v2.2.6...v2.3.0)
- [github.com/astral-sh/ruff-pre-commit: v0.4.3 → v0.4.7](astral-sh/ruff-pre-commit@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 <fsbraun@gmx.de>
  • Loading branch information
pre-commit-ci[bot] and fsbraun authored Jun 4, 2024
1 parent 523a02e commit 113ac01
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand All @@ -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]
Expand Down
1 change: 1 addition & 0 deletions djangocms_admin_style/templatetags/admin_style_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 113ac01

Please sign in to comment.