From fd7eb2a5f7151121286e641e454f72ce73239306 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 20 Jul 2026 17:44:29 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.15.21 → v0.15.22](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.21...v0.15.22) - [github.com/djlint/djLint: v1.40.6 → v1.41.0](https://github.com/djlint/djLint/compare/v1.40.6...v1.41.0) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c30ad53..51c2371 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -34,7 +34,7 @@ repos: - mdformat-gfm - mdformat-gfm-alerts - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.21 + rev: v0.15.22 hooks: - id: ruff-check args: [--fix, --exit-non-zero-on-fix] @@ -44,7 +44,7 @@ repos: hooks: - id: yamlfmt - repo: https://github.com/djlint/djLint - rev: v1.40.6 + rev: v1.41.0 hooks: - id: djlint-reformat-django - repo: https://github.com/sphinx-contrib/sphinx-lint From 712ccec3b93dc94f4dbac84e3246351c5aac56b1 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 20 Jul 2026 17:46:01 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/testapp/templates/django/forms/widgets/select.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/testapp/templates/django/forms/widgets/select.html b/tests/testapp/templates/django/forms/widgets/select.html index e668d15..95dd5a8 100644 --- a/tests/testapp/templates/django/forms/widgets/select.html +++ b/tests/testapp/templates/django/forms/widgets/select.html @@ -3,9 +3,9 @@ {% include "django/forms/widgets/attrs.html" %}> {% for group_name, group_choices, group_index in widget.optgroups %} {% if group_name %}{% endif %} - {% for option in group_choices %} - {% include option.template_name with widget=option %} - {% endfor %} - {% if group_name %}{% endif %} + {% for option in group_choices %} + {% include option.template_name with widget=option %} + {% endfor %} + {% if group_name %}{% endif %} {% endfor %}