Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#689)
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] authored Aug 20, 2024
1 parent 7907fc1 commit 901ed09
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ repos:
- id: trailing-whitespace
exclude: CHANGELOG.md
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.7
rev: v0.6.1
hooks:
- id: ruff
args:
Expand Down
1 change: 1 addition & 0 deletions src/unfold/contrib/forms/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from django.forms import MultiWidget, Widget
from django.http import QueryDict
from django.utils.datastructures import MultiValueDict

from unfold.widgets import (
PROSE_CLASSES,
UnfoldAdminSelectWidget,
Expand Down
1 change: 1 addition & 0 deletions src/unfold/contrib/import_export/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from import_export.forms import (
SelectableFieldsExportForm as BaseSelectableFieldsExportForm,
)

from unfold.widgets import (
SELECT_CLASSES,
UnfoldAdminFileFieldWidget,
Expand Down
1 change: 1 addition & 0 deletions src/unfold/contrib/inlines/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
from django.http import HttpRequest
from django.utils.text import get_text_list
from django.utils.translation import gettext_lazy as _

from unfold.admin import StackedInline, TabularInline

from .checks import NonrelatedModelAdminChecks
Expand Down
1 change: 1 addition & 0 deletions tests/server/example/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from django.contrib.auth.admin import GroupAdmin as BaseGroupAdmin
from django.contrib.auth.admin import UserAdmin as BaseUserAdmin
from django.contrib.auth.models import Group

from unfold.admin import ModelAdmin
from unfold.forms import AdminPasswordChangeForm, UserChangeForm, UserCreationForm

Expand Down
1 change: 1 addition & 0 deletions tests/test_colors.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from django.test import TestCase
from django.test.client import RequestFactory
from django.test.utils import override_settings

from unfold.settings import CONFIG_DEFAULTS
from unfold.sites import UnfoldAdminSite

Expand Down
1 change: 1 addition & 0 deletions tests/test_environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from django.test import TestCase
from django.test.client import RequestFactory
from django.test.utils import override_settings

from unfold.settings import CONFIG_DEFAULTS
from unfold.sites import UnfoldAdminSite

Expand Down
1 change: 1 addition & 0 deletions tests/test_navigations.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from django.test import TestCase
from django.test.client import RequestFactory
from django.test.utils import override_settings

from unfold.settings import CONFIG_DEFAULTS
from unfold.sites import UnfoldAdminSite

Expand Down
1 change: 1 addition & 0 deletions tests/test_settings.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from django.conf import settings
from django.test import SimpleTestCase
from django.test.utils import override_settings

from unfold.settings import CONFIG_DEFAULTS, get_config


Expand Down
1 change: 1 addition & 0 deletions tests/test_show.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from django.test import TestCase
from django.test.client import RequestFactory
from django.test.utils import override_settings

from unfold.settings import CONFIG_DEFAULTS
from unfold.sites import UnfoldAdminSite

Expand Down
1 change: 1 addition & 0 deletions tests/test_site_branding.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from django.test import TestCase
from django.test.client import RequestFactory
from django.test.utils import override_settings

from unfold.settings import CONFIG_DEFAULTS
from unfold.sites import UnfoldAdminSite

Expand Down

0 comments on commit 901ed09

Please sign in to comment.