Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 29, 2025
1 parent 7ca90f3 commit 9407d23
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/unfold/decorators.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from typing import Any, Callable, Dict, Iterable, Optional, Union
from collections.abc import Iterable
from typing import Any, Callable, Dict, Optional, Union

from django.contrib.admin.options import BaseModelAdmin
from django.core.exceptions import PermissionDenied
Expand Down
3 changes: 2 additions & 1 deletion src/unfold/templatetags/unfold.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from typing import Any, Dict, List, Mapping, Optional, Set, Union
from collections.abc import Mapping
from typing import Any, Dict, List, Optional, Set, Union

from django import template
from django.contrib.admin.helpers import AdminForm, Fieldset
Expand Down
3 changes: 2 additions & 1 deletion src/unfold/typing.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from typing import Any, Dict, Iterable, List, Protocol, Tuple, Union
from collections.abc import Iterable
from typing import Any, Dict, List, Protocol, Tuple, Union


class ActionFunction(Protocol):
Expand Down
3 changes: 2 additions & 1 deletion src/unfold/utils.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import datetime
import decimal
import json
from typing import Any, Iterable, List, Optional
from collections.abc import Iterable
from typing import Any, List, Optional

from django.conf import settings
from django.db import models
Expand Down

0 comments on commit 9407d23

Please sign in to comment.