This commit is contained in:
Maxim Kurnikov
2019-02-11 01:29:30 +03:00
parent faefdcca5b
commit d05e739d75
3 changed files with 2 additions and 2 deletions

View File

@@ -64,7 +64,7 @@ class Field(RegisterLookupMixin):
def to_python(self, value: Any) -> Any: ...
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: ...
class PositiveIntegerRelDbTypeMixin:

View File

@@ -183,7 +183,7 @@ IGNORED_ERRORS = {
'BandAdmin',
'base class "ModelAdmin" 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': [
'Value of type "None" is not indexable',