From 0d15a96050a25a14611768264439a377256efe80 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 25 May 2026 17:35:05 +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/pre-commit/pre-commit-hooks: v5.0.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v5.0.0...v6.0.0) - https://github.com/psf/black → https://github.com/psf/black-pre-commit-mirror - [github.com/psf/black-pre-commit-mirror: 24.8.0 → 26.5.1](https://github.com/psf/black-pre-commit-mirror/compare/24.8.0...26.5.1) - [github.com/PyCQA/flake8: 7.1.1 → 7.3.0](https://github.com/PyCQA/flake8/compare/7.1.1...7.3.0) --- .pre-commit-config.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 35916ac..f890988 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,15 +1,15 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: debug-statements - id: end-of-file-fixer - id: trailing-whitespace - - repo: https://github.com/psf/black - rev: 24.8.0 + - repo: https://github.com/psf/black-pre-commit-mirror + rev: 26.5.1 hooks: - id: black - repo: https://github.com/PyCQA/flake8 - rev: 7.1.1 + rev: 7.3.0 hooks: - id: flake8 From 99ff58074c79cac0417e45d6d4a1e0b9fe531c88 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 25 May 2026 17:36:00 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- django_superform/__init__.py | 2 +- tests/test_formsetfield.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/django_superform/__init__.py b/django_superform/__init__.py index 3b05cf4..c1e5fa3 100644 --- a/django_superform/__init__.py +++ b/django_superform/__init__.py @@ -11,6 +11,7 @@ Project home: https://github.com/jazzband/django-superform See http://django-superform.readthedocs.org/en/latest/ for complete docs. """ + from .fields import ( FormField, ModelFormField, @@ -22,7 +23,6 @@ from .forms import SuperForm, SuperModelForm from .widgets import FormWidget, FormSetWidget - __version__ = "0.4.0.dev1" diff --git a/tests/test_formsetfield.py b/tests/test_formsetfield.py index c9e63e7..a0f7d6a 100644 --- a/tests/test_formsetfield.py +++ b/tests/test_formsetfield.py @@ -5,7 +5,6 @@ from .models import Post, Image - ImageFormSet = modelformset_factory(Image, fields=["name"])