fix integer set type

This commit is contained in:
Maxim Kurnikov committed 2019-02-20 02:38:45 +03:00
1 parent 78810f55b6
commit 5d8cdbcf29
10 files changed
+20 -20

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@ warn_no_return = False
show_traceback = True
warn_redundant_casts = True
allow_redefinition = True
incremental = True
incremental = False
plugins =
mypy_django_plugin.main
+3 -2
View File
@@ -286,7 +286,8 @@ IGNORED_ERRORS = {
],
'schema': [
'Incompatible type for "info" of "Note" (got "None", expected "Union[str, Combinable]")',
'Incompatible type for "detail_info" of "NoteRename" (got "None", expected "Union[str, Combinable]")'
'Incompatible type for "detail_info" of "NoteRename" (got "None", expected "Union[str, Combinable]")',
'Incompatible type for "year" of "UniqueTest" (got "None", expected "Union[float, int, str, Combinable]")'
],
'settings_tests': [
'Argument 1 to "Settings" has incompatible type "Optional[str]"; expected "str"'
@@ -348,7 +349,7 @@ IGNORED_ERRORS = {
],
'sessions_tests': [
'base class "SessionTestsMixin" defined the type as "None")',
'Incompatible types in assignment (expression has type "None", variable has type "int")'
'Incompatible types in assignment (expression has type "None", variable has type "int")',
],
'select_related_onetoone': [
'"None" has no attribute'