|
35 | 35 | # settings |
36 | 36 | re.compile(r'Module has no attribute "[A-Z_]+"'), |
37 | 37 | # attributes assigned to test functions |
38 | | - re.compile(r'"Callable\[\[(Any(, )?)+\], Any\]" has no attribute'), |
| 38 | + re.compile(r'"Callable\[\[(Any(, )?)+(, VarArg\(Any\))?(, KwArg\(Any\))?\], Any\]" has no attribute'), |
39 | 39 | # assign empty tuple |
40 | 40 | re.compile(r'Incompatible types in assignment \(expression has type "Tuple\[\]", ' |
41 | 41 | r'variable has type "Tuple\[[A-Za-z, ]+\]"'), |
|
70 | 70 | 'builtin_server': [ |
71 | 71 | 'has no attribute "getvalue"' |
72 | 72 | ], |
| 73 | + 'custom_lookups': [ |
| 74 | + 'in base class "SQLFuncMixin"' |
| 75 | + ], |
| 76 | + 'custom_managers': [ |
| 77 | + '_filter_CustomQuerySet', |
| 78 | + '_filter_CustomManager', |
| 79 | + re.compile(r'Cannot determine type of \'(abstract_persons|cars|plain_manager)\''), |
| 80 | + # TODO: remove after 'objects' and '_default_manager' are handled in the plugin |
| 81 | + 'Incompatible types in assignment (expression has type "CharField", ' |
| 82 | + + 'base class "Model" defined the type as "Manager[Model]")', |
| 83 | + # TODO: remove after from_queryset() handled in the plugin |
| 84 | + 'Invalid base class' |
| 85 | + ], |
73 | 86 | 'csrf_tests': [ |
74 | 87 | 'Incompatible types in assignment (expression has type "property", ' + |
75 | 88 | 'base class "HttpRequest" defined the type as "QueryDict")' |
|
167 | 180 | 'context_processors', |
168 | 181 | 'csrf_tests', |
169 | 182 | 'custom_columns', |
170 | | - # TODO: 'custom_lookups', |
171 | | - # TODO: 'custom_managers', |
| 183 | + 'custom_lookups', |
| 184 | + 'custom_managers', |
172 | 185 | 'custom_methods', |
173 | 186 | 'custom_migration_operations', |
174 | 187 | 'custom_pk', |
|
0 commit comments