fix form errors in CI

This commit is contained in:
Maxim Kurnikov
2019-02-20 21:24:38 +03:00
parent 194258ab8e
commit 2d3b5492f0
3 changed files with 12 additions and 8 deletions

View File

@@ -232,6 +232,12 @@ IGNORED_ERRORS = {
+ 'base class "ImageFieldTestMixin" defined the type as "Type[PersonWithHeightAndWidth]")',
'note: "Person" defined here'
],
'model_formsets': [
'Incompatible types in string interpolation (expression has type "object", placeholder has type "Union[int, float]")'
],
'model_formsets_regress': [
'Incompatible types in assignment (expression has type "Model", variable has type "User")'
],
'model_regress': [
'Too many arguments for "Worker"',
re.compile(r'Incompatible type for "[a-z]+" of "Worker" \(got "int", expected')