mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-08 04:54:48 +08:00
fix ci
This commit is contained in:
@@ -64,7 +64,7 @@ class Field(RegisterLookupMixin):
|
|||||||
def to_python(self, value: Any) -> Any: ...
|
def to_python(self, value: Any) -> Any: ...
|
||||||
|
|
||||||
class IntegerField(Field):
|
class IntegerField(Field):
|
||||||
def __set__(self, instance, value: Union[int, Combinable, Literal['']]) -> None: ...
|
def __set__(self, instance, value: Union[int, Combinable, Literal[""]]) -> None: ...
|
||||||
def __get__(self, instance, owner) -> int: ...
|
def __get__(self, instance, owner) -> int: ...
|
||||||
|
|
||||||
class PositiveIntegerRelDbTypeMixin:
|
class PositiveIntegerRelDbTypeMixin:
|
||||||
|
|||||||
@@ -183,7 +183,7 @@ IGNORED_ERRORS = {
|
|||||||
'BandAdmin',
|
'BandAdmin',
|
||||||
'base class "ModelAdmin" defined the type a',
|
'base class "ModelAdmin" defined the type a',
|
||||||
'base class "InlineModelAdmin" defined the type a',
|
'base class "InlineModelAdmin" defined the type a',
|
||||||
'List item 0 has incompatible type "Type[ValidationTestInline]"; expected "Type[BaseModelAdmin]"'
|
'List item 0 has incompatible type "Type[ValidationTestInline]"; expected "Type[InlineModelAdmin]"'
|
||||||
],
|
],
|
||||||
'migrate_signals': [
|
'migrate_signals': [
|
||||||
'Value of type "None" is not indexable',
|
'Value of type "None" is not indexable',
|
||||||
|
|||||||
Reference in New Issue
Block a user