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 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"])