From c29e17be971844215ecdbeab859142a2230e5f83 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 10 Aug 2026 19:48:00 +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.22 → v0.16.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.22...v0.16.2) - [github.com/tox-dev/pyproject-fmt: v2.25.3 → v2.27.0](https://github.com/tox-dev/pyproject-fmt/compare/v2.25.3...v2.27.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 50666b7..3bb78ce 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,12 +23,12 @@ repos: hooks: - id: absolufy-imports - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.22 + rev: v0.16.2 hooks: - id: ruff - id: ruff-format - repo: https://github.com/tox-dev/pyproject-fmt - rev: v2.25.3 + rev: v2.27.0 hooks: - id: pyproject-fmt - repo: https://github.com/abravalheri/validate-pyproject From ab5f9ad35a8936a1b805d476b8fa1575fd17b022 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 10 Aug 2026 19:50:16 +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/models.py | 2 +- tests/testapp/test_forms.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/testapp/models.py b/tests/testapp/models.py index ad8cf98..3f59719 100644 --- a/tests/testapp/models.py +++ b/tests/testapp/models.py @@ -100,7 +100,7 @@ class HoneypotField(forms.CharField): def validate(self, value): super().validate(value) if value: - raise forms.ValidationError(f"Invalid honeypot value {repr(value)}") + raise forms.ValidationError(f"Invalid honeypot value {value!r}") class Honeypot(forms_models.FormFieldBase, ConfiguredFormPlugin): diff --git a/tests/testapp/test_forms.py b/tests/testapp/test_forms.py index 63b6cb8..1051279 100644 --- a/tests/testapp/test_forms.py +++ b/tests/testapp/test_forms.py @@ -345,7 +345,6 @@ def test_formtype_getattr(self): regions="required", form_class="required", validate="required", - # int=42, module="django.test", nothing="no.thing",