Skip to content

Commit 901ed09

Browse files
[pre-commit.ci] pre-commit autoupdate (#689)
1 parent 7907fc1 commit 901ed09

File tree

11 files changed

+11
-1
lines changed

11 files changed

+11
-1
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ repos:
1212
- id: trailing-whitespace
1313
exclude: CHANGELOG.md
1414
- repo: https://github.com/astral-sh/ruff-pre-commit
15-
rev: v0.5.7
15+
rev: v0.6.1
1616
hooks:
1717
- id: ruff
1818
args:

src/unfold/contrib/forms/widgets.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
from django.forms import MultiWidget, Widget
55
from django.http import QueryDict
66
from django.utils.datastructures import MultiValueDict
7+
78
from unfold.widgets import (
89
PROSE_CLASSES,
910
UnfoldAdminSelectWidget,

src/unfold/contrib/import_export/forms.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
from import_export.forms import (
55
SelectableFieldsExportForm as BaseSelectableFieldsExportForm,
66
)
7+
78
from unfold.widgets import (
89
SELECT_CLASSES,
910
UnfoldAdminFileFieldWidget,

src/unfold/contrib/inlines/admin.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
from django.http import HttpRequest
1212
from django.utils.text import get_text_list
1313
from django.utils.translation import gettext_lazy as _
14+
1415
from unfold.admin import StackedInline, TabularInline
1516

1617
from .checks import NonrelatedModelAdminChecks

tests/server/example/admin.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
from django.contrib.auth.admin import GroupAdmin as BaseGroupAdmin
33
from django.contrib.auth.admin import UserAdmin as BaseUserAdmin
44
from django.contrib.auth.models import Group
5+
56
from unfold.admin import ModelAdmin
67
from unfold.forms import AdminPasswordChangeForm, UserChangeForm, UserCreationForm
78

tests/test_colors.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
from django.test import TestCase
33
from django.test.client import RequestFactory
44
from django.test.utils import override_settings
5+
56
from unfold.settings import CONFIG_DEFAULTS
67
from unfold.sites import UnfoldAdminSite
78

tests/test_environment.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
from django.test import TestCase
33
from django.test.client import RequestFactory
44
from django.test.utils import override_settings
5+
56
from unfold.settings import CONFIG_DEFAULTS
67
from unfold.sites import UnfoldAdminSite
78

tests/test_navigations.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from django.test import TestCase
22
from django.test.client import RequestFactory
33
from django.test.utils import override_settings
4+
45
from unfold.settings import CONFIG_DEFAULTS
56
from unfold.sites import UnfoldAdminSite
67

tests/test_settings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from django.conf import settings
22
from django.test import SimpleTestCase
33
from django.test.utils import override_settings
4+
45
from unfold.settings import CONFIG_DEFAULTS, get_config
56

67

tests/test_show.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
from django.test import TestCase
33
from django.test.client import RequestFactory
44
from django.test.utils import override_settings
5+
56
from unfold.settings import CONFIG_DEFAULTS
67
from unfold.sites import UnfoldAdminSite
78

0 commit comments

Comments
 (0)