@@ -86,7 +86,7 @@ def __hash__(self) -> int: ...
8686
8787
8888@typing .final
89- @dataclass
89+ @dataclass ( eq = False )
9090class AnyType (TypeAttribute , metaclass = SingletonTypeMeta ):
9191 name = "Any"
9292
@@ -98,7 +98,7 @@ def __hash__(self) -> int:
9898
9999
100100@typing .final
101- @dataclass
101+ @dataclass ( eq = False )
102102class BottomType (TypeAttribute , metaclass = SingletonTypeMeta ):
103103 name = "Bottom"
104104
@@ -140,7 +140,7 @@ def __call__(self, typ):
140140
141141
142142@typing .final
143- @dataclass
143+ @dataclass ( eq = False )
144144class PyClass (TypeAttribute , typing .Generic [PyClassType ], metaclass = PyClassMeta ):
145145 name = "PyClass"
146146 typ : type [PyClassType ]
@@ -197,7 +197,7 @@ def __call__(self, data):
197197
198198
199199@typing .final
200- @dataclass
200+ @dataclass ( eq = False )
201201class Literal (TypeAttribute , typing .Generic [LiteralType ], metaclass = LiteralMeta ):
202202 name = "Literal"
203203 data : LiteralType
@@ -222,7 +222,7 @@ def print_impl(self, printer: Printer) -> None:
222222
223223
224224@typing .final
225- @dataclass
225+ @dataclass ( eq = False )
226226class Union (TypeAttribute , metaclass = UnionTypeMeta ):
227227 name = "Union"
228228 types : frozenset [TypeAttribute ]
@@ -283,7 +283,7 @@ def print_impl(self, printer: Printer) -> None:
283283
284284
285285@typing .final
286- @dataclass
286+ @dataclass ( eq = False )
287287class TypeVar (TypeAttribute ):
288288 name = "TypeVar"
289289 varname : str
@@ -320,7 +320,7 @@ def print_impl(self, printer: Printer) -> None:
320320
321321
322322@typing .final
323- @dataclass
323+ @dataclass ( eq = False )
324324class Vararg (Attribute ):
325325 name = "Vararg"
326326 typ : TypeAttribute
@@ -338,7 +338,7 @@ def print_impl(self, printer: Printer) -> None:
338338
339339
340340@typing .final
341- @dataclass
341+ @dataclass ( eq = False )
342342class Generic (TypeAttribute , typing .Generic [PyClassType ]):
343343 name = "Generic"
344344 body : PyClass [PyClassType ]
@@ -461,7 +461,7 @@ def where(self, typ: TypeVarValue | tuple[TypeVarValue, ...]) -> "Generic":
461461
462462
463463@typing .final
464- @dataclass
464+ @dataclass ( eq = False )
465465class Hinted (TypeAttribute , typing .Generic [HintedData ]):
466466 """Type wrapped with a hint.
467467
0 commit comments