Skip to content

Commit 349e3fa

Browse files
committed
Downgrade mypy to v0.942
1 parent c1fbc9d commit 349e3fa

File tree

6 files changed

+57
-244
lines changed

6 files changed

+57
-244
lines changed

classes/contrib/mypy/typeops/call_signatures.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,10 @@
66
from mypy.typeops import get_type_vars, make_simplified_union
77
from mypy.types import CallableType, Instance, ProperType
88
from mypy.types import Type as MypyType
9-
from mypy.types import TypeVarType
9+
from mypy.types import TypeVarType, union_items
1010
from typing_extensions import Final, final
1111

1212
from classes.contrib.mypy.typeops import type_loader
13-
from classes.contrib.mypy.typeops.union_items import union_items
1413

1514
_INCOMPATIBLE_TYPEVAR_MSG: Final = (
1615
'Argument 1 to {0} has incompatible type "{1}"; expected "{2}"'

classes/contrib/mypy/typeops/mro.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@
44
from mypy.subtypes import is_equivalent
55
from mypy.types import Instance
66
from mypy.types import Type as MypyType
7-
from mypy.types import UnionType
7+
from mypy.types import UnionType, union_items
88
from typing_extensions import final
99

1010
from classes.contrib.mypy.typeops import type_loader
11-
from classes.contrib.mypy.typeops.union_items import union_items
1211

1312

1413
@final

classes/contrib/mypy/typeops/union_items.py

Lines changed: 0 additions & 21 deletions
This file was deleted.

classes/contrib/mypy/validation/validate_instance/validate_runtime.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
from mypy.erasetype import erase_type
44
from mypy.plugin import MethodContext
5-
from mypy.subtypes import is_same_type, is_subtype
5+
from mypy.sametypes import is_same_type
6+
from mypy.subtypes import is_subtype
67
from mypy.types import Instance
78
from mypy.types import Type as MypyType
89
from mypy.types import TypedDictType

0 commit comments

Comments
 (0)