ci should be good now

This commit is contained in:
Maxim Kurnikov
2019-02-07 01:43:34 +03:00
parent 56cd3bc77d
commit f7b586f038
2 changed files with 8 additions and 6 deletions

View File

@@ -95,7 +95,7 @@ class QuerySet(Iterable[_T], Sized):
def raw(
self, raw_query: str, params: Any = ..., translations: Optional[Dict[str, str]] = ..., using: None = ...
) -> RawQuerySet: ...
def values(self, *fields: Union[str, Combinable], **expressions: Any) -> QuerySet: ...
def values(self, *fields: Union[str, Combinable], **expressions: Any) -> ValuesIterable: ...
@overload
def values_list(self, *fields: Union[str, Combinable], named: Literal[True]) -> NamedValuesListIterable: ...
@overload

View File

@@ -48,7 +48,8 @@ IGNORED_ERRORS = {
'full_clean" of "Model" does not return a value',
# private members
re.compile(r'has no attribute "|\'_[a-z][a-z_]+"|\''),
'Invalid base class'
'Invalid base class',
'ValuesIterable'
],
'admin_changelist': [
'Incompatible types in assignment (expression has type "FilteredChildAdmin", variable has type "ChildAdmin")'
@@ -75,14 +76,15 @@ IGNORED_ERRORS = {
'"object" not callable'
],
'aggregation': [
'Incompatible types in assignment (expression has type "QuerySet[Any]", variable has type "List[Any]")'
+ '"as_sql" undefined in superclass',
'Incompatible types in assignment (expression has type "QuerySet[Any]", variable has type "List[Any]")',
'"as_sql" undefined in superclass',
'Incompatible types in assignment (expression has type "FlatValuesListIterable", '
+ 'variable has type "ValuesListIterable")'
],
'aggregation_regress': [
'Incompatible types in assignment (expression has type "List[str]", variable has type "QuerySet[Author]")',
'Incompatible types in assignment (expression has type "FlatValuesListIterable", variable has type "QuerySet[Any]")'
'Incompatible types in assignment (expression has type "FlatValuesListIterable", variable has type "QuerySet[Any]")',
'Too few arguments for "count" of "Sequence"'
],
'apps': [
'Incompatible types in assignment (expression has type "str", target has type "type")',
@@ -576,4 +578,4 @@ if __name__ == '__main__':
if rc != 0:
global_rc = 1
sys.exit(rc)
sys.exit(global_rc)