Skip to content

Commit 63a8427

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
1 parent 144c39b commit 63a8427

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

stubs/django-filter/django_filters/fields.pyi

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
from collections.abc import Sequence
2-
from typing import Any, NamedTuple, Mapping, Callable, Iterable, type_check_only, Protocol
1+
from collections.abc import Iterable, Mapping, Sequence
2+
from typing import Any, Callable, NamedTuple
3+
from typing_extensions import TypeAlias
34

5+
from django import forms
46
from django.db.models import Choices
57
from django.forms import Widget
68
from django_stubs_ext import StrOrPromise
7-
from typing_extensions import TypeAlias
8-
9-
from django import forms
109

1110
DJANGO_50: bool
1211

stubs/django-filter/django_filters/rest_framework/filters.pyi

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from typing import Any, reveal_type
2-
31
from ..filters import (
42
AllValuesFilter,
53
AllValuesMultipleFilter,

0 commit comments

Comments
 (0)