Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: pre-commit autoupdate #529

Merged
merged 2 commits into from
Jul 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand All @@ -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]
Expand Down
1 change: 0 additions & 1 deletion djangocms_admin_style/templatetags/admin_style_tags.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
from django import template

Check failure on line 1 in djangocms_admin_style/templatetags/admin_style_tags.py

View workflow job for this annotation

GitHub Actions / isort

Imports are incorrectly sorted and/or formatted.
from django.conf import settings
from django.contrib.sites.shortcuts import get_current_site
from django.template.defaultfilters import conditional_escape
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
Loading