diff --git a/conformance/results/results.html b/conformance/results/results.html index e987e6951..e4c61d5d3 100644 --- a/conformance/results/results.html +++ b/conformance/results/results.html @@ -268,7 +268,7 @@

Python Type System Conformance Test Results

pycroscope 0.5.0 pyrefly 1.5.0 pyright 1.1.414 - ty 0.0.93 + ty 0.0.108 zuban 0.10.2 @@ -567,14 +567,7 @@

Python Type System Conformance Test Results

Pass Pass Pass - - Partial - - + Pass Pass @@ -929,7 +922,7 @@

Python Type System Conformance Test Results

33 / 33 • 100.0% 33 / 33 • 100.0% 30 / 33 • 90.9% - 32.5 / 33 • 98.5% + 33 / 33 • 100.0% 33 / 33 • 100.0% @@ -2497,7 +2490,7 @@

Python Type System Conformance Test Results

139 / 146 • 95.2% 146 / 146 • 100.0% 140.5 / 146 • 96.2% - 141.5 / 146 • 96.9% + 142 / 146 • 97.3% 146 / 146 • 100.0% diff --git a/conformance/results/ty/aliases_explicit.toml b/conformance/results/ty/aliases_explicit.toml index 3c0a12246..adf953c43 100644 --- a/conformance/results/ty/aliases_explicit.toml +++ b/conformance/results/ty/aliases_explicit.toml @@ -21,6 +21,6 @@ aliases_explicit.py:89:22: error[invalid-type-form] Int literals are not allowed aliases_explicit.py:90:22: error[invalid-type-form] Boolean operations are not allowed in type alias definitions aliases_explicit.py:91:22: error[invalid-type-form] F-strings are not allowed in type alias definitions aliases_explicit.py:100:5: error[not-subscriptable] Cannot subscript non-generic type `list[Unknown]` -aliases_explicit.py:101:6: error[call-non-callable] Object of type `UnionType` is not callable +aliases_explicit.py:101:6: error[not-callable] Object of type `UnionType` is not callable aliases_explicit.py:102:5: error[not-subscriptable] Cannot subscript non-generic type `list[Unknown] | set[Unknown]` """ diff --git a/conformance/results/ty/aliases_implicit.toml b/conformance/results/ty/aliases_implicit.toml index 740ed43de..ecb9403cc 100644 --- a/conformance/results/ty/aliases_implicit.toml +++ b/conformance/results/ty/aliases_implicit.toml @@ -22,6 +22,6 @@ aliases_implicit.py:116:10: error[invalid-type-form] Variable `BadTypeAlias11` c aliases_implicit.py:117:10: error[invalid-type-form] Variable `BadTypeAlias12` cannot be used as a type aliases_implicit.py:118:10: error[invalid-type-form] Variable `BadTypeAlias13` cannot be used as a type: Variable of type `Literal["int"]` is not allowed in a parameter annotation aliases_implicit.py:119:10: error[invalid-type-form] Variable of type `Literal["int | str"]` is not allowed in a parameter annotation -aliases_implicit.py:133:6: error[call-non-callable] Object of type `UnionType` is not callable +aliases_implicit.py:133:6: error[not-callable] Object of type `UnionType` is not callable aliases_implicit.py:135:5: error[not-subscriptable] Cannot subscript non-generic type `list[Unknown] | set[Unknown]` """ diff --git a/conformance/results/ty/aliases_newtype.toml b/conformance/results/ty/aliases_newtype.toml index 5c846860c..a501cf7d0 100644 --- a/conformance/results/ty/aliases_newtype.toml +++ b/conformance/results/ty/aliases_newtype.toml @@ -7,7 +7,7 @@ aliases_newtype.py:12:14: error[invalid-assignment] Object of type `Literal[42]` aliases_newtype.py:18:11: error[invalid-assignment] Object of type `` is not assignable to `type` aliases_newtype.py:23:16: error[invalid-argument-type] Argument to function `isinstance` is incorrect: Expected `_ClassInfo`, found `` aliases_newtype.py:26:21: error[invalid-base] Cannot subclass an instance of NewType -aliases_newtype.py:35:20: error[mismatched-type-name] The name passed to `NewType` must match the variable it is assigned to: Expected "GoodName", got "BadName" +aliases_newtype.py:35:20: error[mismatched-newtype-name] The name passed to `NewType` must match the variable it is assigned to: Expected "GoodName", got "BadName" aliases_newtype.py:41:6: error[invalid-type-form] `GoodNewType1` is a `NewType` and cannot be specialized aliases_newtype.py:47:38: error[invalid-newtype] invalid base for `typing.NewType`: type `int | str` aliases_newtype.py:50:38: error[invalid-newtype] invalid base for `typing.NewType`: A `NewType` base cannot be generic diff --git a/conformance/results/ty/aliases_type_statement.toml b/conformance/results/ty/aliases_type_statement.toml index 3ad6d2304..0ce4ab940 100644 --- a/conformance/results/ty/aliases_type_statement.toml +++ b/conformance/results/ty/aliases_type_statement.toml @@ -2,9 +2,9 @@ conformance_automated = "Pass" errors_diff = """ """ output = """ -aliases_type_statement.py:17:1: error[unresolved-attribute] Object of type `TypeAliasType` has no attribute `bit_count` -aliases_type_statement.py:19:1: error[call-non-callable] Object of type `TypeAliasType` is not callable -aliases_type_statement.py:23:7: error[unresolved-attribute] Object of type `TypeAliasType` has no attribute `other_attrib` +aliases_type_statement.py:17:1: error[missing-attribute] Object of type `TypeAliasType` has no attribute `bit_count` +aliases_type_statement.py:19:1: error[not-callable] Object of type `TypeAliasType` is not callable +aliases_type_statement.py:23:7: error[missing-attribute] Object of type `TypeAliasType` has no attribute `other_attrib` aliases_type_statement.py:26:18: error[invalid-base] Invalid class base with type `TypeAliasType` aliases_type_statement.py:31:22: error[invalid-argument-type] Argument to function `isinstance` is incorrect: Expected `_ClassInfo`, found `TypeAliasType` aliases_type_statement.py:37:22: error[invalid-type-form] Function calls are not allowed in type alias definitions diff --git a/conformance/results/ty/aliases_typealiastype.toml b/conformance/results/ty/aliases_typealiastype.toml index db6cdc7c4..63b5f55f7 100644 --- a/conformance/results/ty/aliases_typealiastype.toml +++ b/conformance/results/ty/aliases_typealiastype.toml @@ -2,7 +2,7 @@ conformance_automated = "Pass" errors_diff = """ """ output = """ -aliases_typealiastype.py:32:7: error[unresolved-attribute] Object of type `TypeAliasType` has no attribute `other_attrib` +aliases_typealiastype.py:32:7: error[missing-attribute] Object of type `TypeAliasType` has no attribute `other_attrib` aliases_typealiastype.py:40:21: error[invalid-type-arguments] Type `int` is not assignable to upper bound `str` of type variable `TStr@GoodAlias5` aliases_typealiastype.py:43:40: error[invalid-type-alias-type] Type parameter `S` used in the alias value must be included in `type_params` aliases_typealiastype.py:44:40: error[invalid-type-alias-type] Type parameter `S` used in the alias value must be included in `type_params` diff --git a/conformance/results/ty/annotations_generators.toml b/conformance/results/ty/annotations_generators.toml index 1f05f0b0b..7d45038ed 100644 --- a/conformance/results/ty/annotations_generators.toml +++ b/conformance/results/ty/annotations_generators.toml @@ -2,13 +2,13 @@ conformance_automated = "Pass" errors_diff = """ """ output = """ -annotations_generators.py:51:21: error[invalid-return-type] Function can implicitly return `None`, which is not assignable to return type `C` -annotations_generators.py:54:16: error[invalid-return-type] Return type does not match returned value: expected `C`, found `Literal[False]` +annotations_generators.py:51:21: error[invalid-implicit-return] Function can implicitly return `None`, which is not assignable to return type `C` +annotations_generators.py:54:16: error[invalid-explicit-return] Return type does not match returned value: expected `C`, found `Literal[False]` annotations_generators.py:57:15: error[invalid-yield] Yield type `Literal[3]` does not match annotated yield type `A` annotations_generators.py:66:15: error[invalid-yield] Yield type `Literal[3]` does not match annotated yield type `A` annotations_generators.py:75:11: error[invalid-yield] Yield type `B` does not match annotated yield type `A` -annotations_generators.py:86:21: error[invalid-return-type] Return type does not match returned value: expected `int`, found `types.GeneratorType` -annotations_generators.py:91:27: error[invalid-return-type] Return type does not match returned value: expected `int`, found `types.AsyncGeneratorType` +annotations_generators.py:86:21: error[invalid-generator-return-type] Return type does not match returned value: expected `int`, found `types.GeneratorType` +annotations_generators.py:91:27: error[invalid-generator-return-type] Return type does not match returned value: expected `int`, found `types.AsyncGeneratorType` annotations_generators.py:118:16: error[invalid-yield] Yield type `A` does not match annotated yield type `B` annotations_generators.py:119:16: error[invalid-yield] Yield type `int` does not match annotated yield type `B` annotations_generators.py:135:16: error[invalid-yield] Send type `int` does not match annotated send type `str` diff --git a/conformance/results/ty/callables_protocol.toml b/conformance/results/ty/callables_protocol.toml index cab2ecce2..3b5ea6902 100644 --- a/conformance/results/ty/callables_protocol.toml +++ b/conformance/results/ty/callables_protocol.toml @@ -13,8 +13,8 @@ callables_protocol.py:97:16: error[invalid-assignment] Object of type `def cb4_b callables_protocol.py:121:18: error[invalid-assignment] Object of type `def cb6_bad1(*vals: bytes, max_len: int | None = None) -> list[bytes]` is not assignable to `NotProto6` callables_protocol.py:169:7: error[invalid-assignment] Object of type `def cb8_bad1(x: int) -> Any` is not assignable to `Proto8` callables_protocol.py:186:5: error[invalid-assignment] Object of type `Literal["str"]` is not assignable to attribute `other_attribute` of type `int` -callables_protocol.py:187:5: error[unresolved-attribute] Unresolved attribute `xxx` on type `Proto9[P@decorator1, R@decorator1]` -callables_protocol.py:197:7: error[unresolved-attribute] Object of type `Proto9[(x: int), str]` has no attribute `other_attribute2` +callables_protocol.py:187:5: error[missing-attribute] Unresolved attribute `xxx` on type `Proto9[P@decorator1, R@decorator1]` +callables_protocol.py:197:7: error[missing-attribute] Object of type `Proto9[(x: int), str]` has no attribute `other_attribute2` callables_protocol.py:238:8: error[invalid-assignment] Object of type `def cb11_bad1(x: int, y: str, /) -> Any` is not assignable to `Proto11` callables_protocol.py:260:8: error[invalid-assignment] Object of type `def cb12_bad1(*args: Any, kwarg0: Any) -> None` is not assignable to `Proto12` callables_protocol.py:284:27: error[invalid-assignment] Object of type `def cb13_no_default(path: str) -> str` is not assignable to `Proto13_Default` diff --git a/conformance/results/ty/classes_override.toml b/conformance/results/ty/classes_override.toml index 4da491953..643c7f469 100644 --- a/conformance/results/ty/classes_override.toml +++ b/conformance/results/ty/classes_override.toml @@ -7,6 +7,6 @@ classes_override.py:65:9: error[invalid-explicit-override] Method `method4` is d classes_override.py:79:9: error[invalid-explicit-override] Method `static_method1` is decorated with `@override` but does not override anything classes_override.py:84:9: error[invalid-explicit-override] Method `class_method1` is decorated with `@override` but does not override anything classes_override.py:89:9: error[invalid-explicit-override] Method `property1` is decorated with `@override` but does not override anything -classes_override.py:135:9: error[invalid-method-override] Invalid override of method `__init__`: Definition is incompatible with `ParentC.__init__` -classes_override.py:138:9: error[invalid-method-override] Invalid override of method `__new__`: Definition is incompatible with `ParentC.__new__` +classes_override.py:135:9: error[incompatible-method-override] Invalid override of method `__init__`: Definition is incompatible with `ParentC.__init__` +classes_override.py:138:9: error[incompatible-method-override] Invalid override of method `__new__`: Definition is incompatible with `ParentC.__new__` """ diff --git a/conformance/results/ty/dataclasses_hash.toml b/conformance/results/ty/dataclasses_hash.toml index dc083d25b..8e62c7ec7 100644 --- a/conformance/results/ty/dataclasses_hash.toml +++ b/conformance/results/ty/dataclasses_hash.toml @@ -2,8 +2,8 @@ conformance_automated = "Pass" errors_diff = """ """ output = """ -dataclasses_hash.py:17:1: error[call-non-callable] Object of type `None` is not callable +dataclasses_hash.py:17:1: error[not-callable] Object of type `None` is not callable dataclasses_hash.py:18:16: error[invalid-assignment] Object of type `DC1` is not assignable to `Hashable` -dataclasses_hash.py:39:1: error[call-non-callable] Object of type `None` is not callable +dataclasses_hash.py:39:1: error[not-callable] Object of type `None` is not callable dataclasses_hash.py:40:16: error[invalid-assignment] Object of type `DC3` is not assignable to `Hashable` """ diff --git a/conformance/results/ty/dataclasses_inheritance.toml b/conformance/results/ty/dataclasses_inheritance.toml index fa6332619..1016e481d 100644 --- a/conformance/results/ty/dataclasses_inheritance.toml +++ b/conformance/results/ty/dataclasses_inheritance.toml @@ -2,6 +2,6 @@ conformance_automated = "Pass" errors_diff = """ """ output = """ -dataclasses_inheritance.py:62:5: error[invalid-attribute-override] Invalid override of attribute `x`: class variable cannot override instance variable `DC6.x` -dataclasses_inheritance.py:66:5: error[invalid-attribute-override] Invalid override of attribute `y`: instance variable cannot override class variable `DC6.y` +dataclasses_inheritance.py:62:5: error[incompatible-attribute-override] Invalid override of attribute `x`: class variable cannot override instance variable `DC6.x` +dataclasses_inheritance.py:66:5: error[incompatible-attribute-override] Invalid override of attribute `y`: instance variable cannot override class variable `DC6.y` """ diff --git a/conformance/results/ty/dataclasses_match_args.toml b/conformance/results/ty/dataclasses_match_args.toml index 2b13c1886..fef1e34dd 100644 --- a/conformance/results/ty/dataclasses_match_args.toml +++ b/conformance/results/ty/dataclasses_match_args.toml @@ -2,5 +2,5 @@ conformance_automated = "Pass" errors_diff = """ """ output = """ -dataclasses_match_args.py:42:1: error[unresolved-attribute] Class `DC4` has no attribute `__match_args__` +dataclasses_match_args.py:42:1: error[missing-attribute] Class `DC4` has no attribute `__match_args__` """ diff --git a/conformance/results/ty/dataclasses_postinit.toml b/conformance/results/ty/dataclasses_postinit.toml index 83f2f2416..66037ca65 100644 --- a/conformance/results/ty/dataclasses_postinit.toml +++ b/conformance/results/ty/dataclasses_postinit.toml @@ -2,8 +2,8 @@ conformance_automated = "Pass" errors_diff = """ """ output = """ -dataclasses_postinit.py:19:9: error[invalid-dataclass] Invalid `__post_init__` signature for dataclass `DC1` -dataclasses_postinit.py:28:7: error[unresolved-attribute] Object of type `DC1` has no attribute `x` -dataclasses_postinit.py:29:7: error[unresolved-attribute] Object of type `DC1` has no attribute `y` -dataclasses_postinit.py:36:9: error[invalid-dataclass] Invalid `__post_init__` signature for dataclass `DC2` +dataclasses_postinit.py:19:9: error[invalid-dataclass-post-init] Invalid `__post_init__` signature for dataclass `DC1` +dataclasses_postinit.py:28:7: error[missing-attribute] Object of type `DC1` has no attribute `x` +dataclasses_postinit.py:29:7: error[missing-attribute] Object of type `DC1` has no attribute `y` +dataclasses_postinit.py:36:9: error[invalid-dataclass-post-init] Invalid `__post_init__` signature for dataclass `DC2` """ diff --git a/conformance/results/ty/dataclasses_slots.toml b/conformance/results/ty/dataclasses_slots.toml index 916d88e0e..fbf6a0a46 100644 --- a/conformance/results/ty/dataclasses_slots.toml +++ b/conformance/results/ty/dataclasses_slots.toml @@ -3,8 +3,8 @@ errors_diff = """ """ output = """ dataclasses_slots.py:11:7: error[invalid-dataclass] Dataclass `DC1` cannot combine `slots=True` with manually assigned `__slots__` -dataclasses_slots.py:25:9: error[unresolved-attribute] Unresolved attribute `y` on type `Self@__init__` -dataclasses_slots.py:38:9: error[unresolved-attribute] Unresolved attribute `y` on type `Self@__init__` -dataclasses_slots.py:66:1: error[unresolved-attribute] Class `DC6` has no attribute `__slots__` -dataclasses_slots.py:69:1: error[unresolved-attribute] Object of type `DC6` has no attribute `__slots__` +dataclasses_slots.py:25:9: error[missing-attribute] Unresolved attribute `y` on type `Self@__init__` +dataclasses_slots.py:38:9: error[missing-attribute] Unresolved attribute `y` on type `Self@__init__` +dataclasses_slots.py:66:1: error[missing-attribute] Class `DC6` has no attribute `__slots__` +dataclasses_slots.py:69:1: error[missing-attribute] Object of type `DC6` has no attribute `__slots__` """ diff --git a/conformance/results/ty/dataclasses_usage.toml b/conformance/results/ty/dataclasses_usage.toml index 253fe101d..e86ae7de1 100644 --- a/conformance/results/ty/dataclasses_usage.toml +++ b/conformance/results/ty/dataclasses_usage.toml @@ -5,9 +5,9 @@ output = """ dataclasses_usage.py:51:6: error[missing-argument] No argument provided for required parameter `unit_price` dataclasses_usage.py:52:28: error[invalid-argument-type] Argument is incorrect: Expected `float`, found `Literal["price"]` dataclasses_usage.py:53:36: error[too-many-positional-arguments] Too many positional arguments: expected 3, got 4 -dataclasses_usage.py:62:5: error[dataclass-field-order] Required field `b` cannot be defined after fields with default values -dataclasses_usage.py:68:5: error[dataclass-field-order] Required field `b` cannot be defined after fields with default values -dataclasses_usage.py:74:5: error[dataclass-field-order] Required field `b` cannot be defined after fields with default values +dataclasses_usage.py:62:5: error[invalid-dataclass-field-order] Required field `b` cannot be defined after fields with default values +dataclasses_usage.py:68:5: error[invalid-dataclass-field-order] Required field `b` cannot be defined after fields with default values +dataclasses_usage.py:74:5: error[invalid-dataclass-field-order] Required field `b` cannot be defined after fields with default values dataclasses_usage.py:84:13: error[too-many-positional-arguments] Too many positional arguments: expected 1, got 2 dataclasses_usage.py:89:14: error[invalid-assignment] Object of type `dataclasses.Field[str]` is not assignable to `int` dataclasses_usage.py:128:8: error[too-many-positional-arguments] Too many positional arguments: expected 1, got 2 diff --git a/conformance/results/ty/enums_definition.toml b/conformance/results/ty/enums_definition.toml index 09271fcdf..507207963 100644 --- a/conformance/results/ty/enums_definition.toml +++ b/conformance/results/ty/enums_definition.toml @@ -4,5 +4,5 @@ errors_diff = """ output = """ enums_definition.py:25:32: error[too-many-positional-arguments] Too many positional arguments to function `Enum`: expected 2, got 4 enums_definition.py:34:33: error[invalid-type-form] Type arguments for `Literal` must be `None`, a literal value (int, bool, str, or bytes), or an enum member -enums_definition.py:92:1: error[unresolved-attribute] Class `Color12` has no attribute `BLUE` +enums_definition.py:92:1: error[missing-attribute] Class `Color12` has no attribute `BLUE` """ diff --git a/conformance/results/ty/generics_basic.toml b/conformance/results/ty/generics_basic.toml index b700f0fd5..07ee71f28 100644 --- a/conformance/results/ty/generics_basic.toml +++ b/conformance/results/ty/generics_basic.toml @@ -4,7 +4,7 @@ errors_diff = """ output = """ generics_basic.py:40:5: error[invalid-argument-type] Argument to function `concat` is incorrect: Inferred lower bound `str | bytes` does not satisfy constraints (`str`, `bytes`) of type variable `AnyStr` generics_basic.py:41:5: error[invalid-argument-type] Argument to function `concat` is incorrect: Inferred lower bound `bytes | str` does not satisfy constraints (`str`, `bytes`) of type variable `AnyStr` -generics_basic.py:49:44: error[invalid-legacy-type-variable] A `TypeVar` cannot have exactly one constraint +generics_basic.py:49:44: error[invalid-type-variable-constraints] A `TypeVar` cannot have exactly one constraint generics_basic.py:55:53: error[invalid-type-variable-constraints] TypeVar constraint cannot be generic generics_basic.py:69:5: error[invalid-argument-type] Argument to function `concat` is incorrect: Inferred lower bound `MyStr | bytes` does not satisfy constraints (`str`, `bytes`) of type variable `AnyStr` generics_basic.py:121:13: error[invalid-generic-class] Type parameter `T` cannot appear multiple times in `Generic` subscription diff --git a/conformance/results/ty/generics_defaults.toml b/conformance/results/ty/generics_defaults.toml index 8a265a5d2..3a94caee4 100644 --- a/conformance/results/ty/generics_defaults.toml +++ b/conformance/results/ty/generics_defaults.toml @@ -1,25 +1,11 @@ -conformance_automated = "Fail" -conformant = "Partial" -notes = """ -Does not forbid a `TypeVar` immediately following a `TypeVarTuple` in a parameter list from having a default. -Does not accept a `TypeVarTuple` default that unpacks another in-scope `TypeVarTuple`. -Does not correctly specialize a generic that combines a `TypeVarTuple` with a defaulted `ParamSpec`. -""" +conformance_automated = "Pass" errors_diff = """ -Line 188: Expected 1 errors -Line 144: Unexpected errors ['generics_defaults.py:144:61: error[invalid-type-form] `Unpack` can only unpack a tuple type or `TypeVarTuple`'] -Line 203: Unexpected errors ['generics_defaults.py:203:28: error[invalid-type-arguments] Type argument for `ParamSpec` must be either a list of types, `ParamSpec`, `Concatenate`, or `...`'] -Line 204: Unexpected errors ['generics_defaults.py:204:5: error[type-assertion-failure] Type `tuple[int]` does not match asserted type `tuple[int, str]`'] -Line 205: Unexpected errors ['generics_defaults.py:205:5: error[type-assertion-failure] Type `(...) -> None` does not match asserted type `(float, bool, /) -> None`'] """ output = """ generics_defaults.py:24:40: error[invalid-generic-class] Type parameter `T` without a default cannot follow earlier parameter `DefaultStrT` with a default generics_defaults.py:66:8: error[invalid-type-arguments] No type argument provided for required type variable `T2` of class `AllTheDefaults` -generics_defaults.py:144:61: error[invalid-type-form] `Unpack` can only unpack a tuple type or `TypeVarTuple` generics_defaults.py:152:51: error[invalid-type-variable-default] TypeVar default is not assignable to the TypeVar's upper bound generics_defaults.py:159:52: error[invalid-type-variable-default] TypeVar default is inconsistent with the TypeVar's constraints: `int` is not one of the constraints of `Invalid2` generics_defaults.py:177:1: error[type-assertion-failure] Type `int` does not match asserted type `Any` -generics_defaults.py:203:28: error[invalid-type-arguments] Type argument for `ParamSpec` must be either a list of types, `ParamSpec`, `Concatenate`, or `...` -generics_defaults.py:204:5: error[type-assertion-failure] Type `tuple[int]` does not match asserted type `tuple[int, str]` -generics_defaults.py:205:5: error[type-assertion-failure] Type `(...) -> None` does not match asserted type `(float, bool, /) -> None` +generics_defaults.py:188:25: error[invalid-type-variable-default] Type parameter `T5` with a default follows TypeVarTuple `Ts` """ diff --git a/conformance/results/ty/generics_paramspec_basic.toml b/conformance/results/ty/generics_paramspec_basic.toml index 8f572fd57..ab4698b02 100644 --- a/conformance/results/ty/generics_paramspec_basic.toml +++ b/conformance/results/ty/generics_paramspec_basic.toml @@ -2,7 +2,7 @@ conformance_automated = "Pass" errors_diff = """ """ output = """ -generics_paramspec_basic.py:10:23: error[mismatched-type-name] The name passed to `ParamSpec` must match the variable it is assigned to: Expected "WrongName", got "NotIt" +generics_paramspec_basic.py:10:23: error[mismatched-paramspec-name] The name passed to `ParamSpec` must match the variable it is assigned to: Expected "WrongName", got "NotIt" generics_paramspec_basic.py:15:18: error[invalid-type-form] Bare ParamSpec `P` is not valid in this context in a type alias definition generics_paramspec_basic.py:23:14: error[invalid-type-form] Bare ParamSpec `P` is not valid in this context in a parameter annotation generics_paramspec_basic.py:23:20: error[invalid-type-form] Bare ParamSpec `P` is not valid in this context in a return type annotation diff --git a/conformance/results/ty/generics_self_basic.toml b/conformance/results/ty/generics_self_basic.toml index 7e56f458c..a814acb82 100644 --- a/conformance/results/ty/generics_self_basic.toml +++ b/conformance/results/ty/generics_self_basic.toml @@ -2,7 +2,7 @@ conformance_automated = "Pass" errors_diff = """ """ output = """ -generics_self_basic.py:20:16: error[invalid-return-type] Return type does not match returned value: expected `Self@method2`, found `Shape` -generics_self_basic.py:33:16: error[invalid-return-type] Return type does not match returned value: expected `Self@cls_method2`, found `Shape` +generics_self_basic.py:20:16: error[invalid-explicit-return] Return type does not match returned value: expected `Self@method2`, found `Shape` +generics_self_basic.py:33:16: error[invalid-explicit-return] Return type does not match returned value: expected `Self@cls_method2`, found `Shape` generics_self_basic.py:68:26: error[invalid-type-form] Special form `typing.Self` expected no type parameter """ diff --git a/conformance/results/ty/generics_self_usage.toml b/conformance/results/ty/generics_self_usage.toml index 2433bb63b..116d735d6 100644 --- a/conformance/results/ty/generics_self_usage.toml +++ b/conformance/results/ty/generics_self_usage.toml @@ -6,7 +6,7 @@ generics_self_usage.py:73:14: error[invalid-type-form] Variable of type `` is not allowed in a return type annotation generics_self_usage.py:76:6: error[invalid-type-form] Variable of type `` is not allowed in a type expression generics_self_usage.py:82:54: error[invalid-type-form] `Self` requires `self: Self` or `cls: type[Self]` for annotated receivers -generics_self_usage.py:87:16: error[invalid-return-type] Return type does not match returned value: expected `Self@return_concrete_type`, found `Foo3` +generics_self_usage.py:87:16: error[invalid-explicit-return] Return type does not match returned value: expected `Self@return_concrete_type`, found `Foo3` generics_self_usage.py:103:15: error[invalid-type-form] Variable of type `` is not allowed in a type expression generics_self_usage.py:105:12: error[invalid-base] Invalid class base with type `` generics_self_usage.py:108:30: error[invalid-type-form] Variable of type `` is not allowed in a type expression diff --git a/conformance/results/ty/generics_syntax_declarations.toml b/conformance/results/ty/generics_syntax_declarations.toml index 5d2978814..a903f6a5f 100644 --- a/conformance/results/ty/generics_syntax_declarations.toml +++ b/conformance/results/ty/generics_syntax_declarations.toml @@ -4,7 +4,7 @@ errors_diff = """ output = """ generics_syntax_declarations.py:17:1: error[invalid-generic-class] Cannot both inherit from `typing.Generic` and use PEP 695 type variables generics_syntax_declarations.py:25:20: error[invalid-generic-class] Cannot both inherit from subscripted `Protocol` and use PEP 695 type variables -generics_syntax_declarations.py:32:9: error[unresolved-attribute] Object of type `T@ClassD` has no attribute `is_integer` +generics_syntax_declarations.py:32:9: error[missing-attribute] Object of type `T@ClassD` has no attribute `is_integer` generics_syntax_declarations.py:44:21: error[invalid-type-variable-bound] TypeVar upper bound cannot be generic generics_syntax_declarations.py:48:17: error[invalid-type-form] List literals are not allowed in this context in a type expression generics_syntax_declarations.py:60:17: error[invalid-type-variable-constraints] TypeVar must have at least two constrained types diff --git a/conformance/results/ty/generics_typevartuple_specialization.toml b/conformance/results/ty/generics_typevartuple_specialization.toml index 4da80c277..228238ae5 100644 --- a/conformance/results/ty/generics_typevartuple_specialization.toml +++ b/conformance/results/ty/generics_typevartuple_specialization.toml @@ -6,6 +6,6 @@ generics_typevartuple_specialization.py:109:17: error[invalid-type-form] `*` can generics_typevartuple_specialization.py:110:17: error[invalid-type-form] `Unpack` can only be used with a fixed tuple type in this context generics_typevartuple_specialization.py:121:7: error[invalid-type-form] Multiple unpacked variadic tuples are not allowed in a `tuple` specialization generics_typevartuple_specialization.py:122:7: error[invalid-type-form] Multiple unpacked variadic tuples are not allowed in a `tuple` specialization -generics_typevartuple_specialization.py:127:5: error[invalid-type-arguments] No type arguments provided for required type variables `T1`, `T2` +generics_typevartuple_specialization.py:127:5: error[invalid-type-arguments] No type argument provided for required type variable `T2` generics_typevartuple_specialization.py:163:13: error[invalid-type-form] A TypeVarTuple cannot be split to provide a fixed type argument """ diff --git a/conformance/results/ty/narrowing_typeis.toml b/conformance/results/ty/narrowing_typeis.toml index d4882af5b..5f7f70e6c 100644 --- a/conformance/results/ty/narrowing_typeis.toml +++ b/conformance/results/ty/narrowing_typeis.toml @@ -9,6 +9,6 @@ narrowing_typeis.py:157:26: error[invalid-argument-type] Argument to function `t narrowing_typeis.py:174:17: error[invalid-argument-type] Argument to function `takes_typeguard` is incorrect: Expected `(object, /) -> TypeGuard[int]`, found `def is_int_typeis(val: object) -> TypeIs[int]` narrowing_typeis.py:175:14: error[invalid-argument-type] Argument to function `takes_typeis` is incorrect: Expected `(object, /) -> TypeIs[int]`, found `def is_int_typeguard(val: object) -> TypeGuard[int]` narrowing_typeis.py:196:18: error[invalid-argument-type] Argument to function `takes_int_typeis` is incorrect: Expected `(object, /) -> TypeIs[int]`, found `def bool_typeis(val: object) -> TypeIs[bool]` -narrowing_typeis.py:200:27: error[invalid-type-guard-definition] Narrowed type `str` is not assignable to the declared parameter type `int` -narrowing_typeis.py:204:45: error[invalid-type-guard-definition] Narrowed type `list[int]` is not assignable to the declared parameter type `list[object]` +narrowing_typeis.py:200:27: error[disjoint-type-is-narrowing] Narrowed type `str` is disjoint from the declared parameter type `int` +narrowing_typeis.py:204:45: error[disjoint-type-is-narrowing] Narrowed type `list[int]` is disjoint from the declared parameter type `list[object]` """ diff --git a/conformance/results/ty/overloads_consistency.toml b/conformance/results/ty/overloads_consistency.toml index ba10fac4e..9bdf30e9c 100644 --- a/conformance/results/ty/overloads_consistency.toml +++ b/conformance/results/ty/overloads_consistency.toml @@ -2,6 +2,6 @@ conformance_automated = "Pass" errors_diff = """ """ output = """ -overloads_consistency.py:25:5: error[invalid-overload] Overload return type is not assignable to implementation return type -overloads_consistency.py:41:5: error[invalid-overload] Implementation does not accept all arguments of this overload +overloads_consistency.py:25:5: error[inconsistent-overload-implementation] Overload return type is not assignable to implementation return type +overloads_consistency.py:41:5: error[inconsistent-overload-implementation] Implementation does not accept all arguments of this overload """ diff --git a/conformance/results/ty/overloads_definitions.toml b/conformance/results/ty/overloads_definitions.toml index 090f8fdf0..adc59d24e 100644 --- a/conformance/results/ty/overloads_definitions.toml +++ b/conformance/results/ty/overloads_definitions.toml @@ -2,16 +2,16 @@ conformance_automated = "Pass" errors_diff = """ """ output = """ -overloads_definitions.py:16:5: error[invalid-overload] Overloaded function `func1` requires at least two overloads: Only one overload defined here -overloads_definitions.py:28:5: error[invalid-overload] Overloads for function `func2` must be followed by a non-`@overload`-decorated implementation function -overloads_definitions.py:59:9: error[invalid-overload] Overloads for function `not_abstract` must be followed by a non-`@overload`-decorated implementation function -overloads_definitions.py:81:9: error[invalid-overload] Overloaded function `func5` does not use the `@staticmethod` decorator consistently -overloads_definitions.py:94:9: error[invalid-overload] Overloaded function `func6` does not use the `@classmethod` decorator consistently -overloads_definitions.py:124:9: error[invalid-overload] `@final` decorator should be applied only to the overload implementation -overloads_definitions.py:139:9: error[invalid-overload] `@final` decorator should be applied only to the overload implementation -overloads_definitions.py:144:9: error[invalid-overload] `@final` decorator should be applied only to the overload implementation +overloads_definitions.py:16:5: error[single-overload] Overloaded function `func1` requires at least two overloads: Only one overload defined here +overloads_definitions.py:28:5: error[missing-overload-implementation] Overloads for function `func2` must be followed by a non-`@overload`-decorated implementation function +overloads_definitions.py:59:9: error[missing-overload-implementation] Overloads for function `not_abstract` must be followed by a non-`@overload`-decorated implementation function +overloads_definitions.py:81:9: error[inconsistent-overload-decorator] Overloaded function `func5` does not use the `@staticmethod` decorator consistently +overloads_definitions.py:94:9: error[inconsistent-overload-decorator] Overloaded function `func6` does not use the `@classmethod` decorator consistently +overloads_definitions.py:124:9: error[misplaced-overload-decorator] `@final` decorator should be applied only to the overload implementation +overloads_definitions.py:139:9: error[misplaced-overload-decorator] `@final` decorator should be applied only to the overload implementation +overloads_definitions.py:144:9: error[misplaced-overload-decorator] `@final` decorator should be applied only to the overload implementation overloads_definitions.py:186:9: error[override-of-final-method] Cannot override final member `final_method` from superclass `Base` overloads_definitions.py:203:9: error[invalid-explicit-override] Method `bad_override` is decorated with `@override` but does not override anything -overloads_definitions.py:228:9: error[invalid-overload] `@override` decorator should be applied only to the overload implementation -overloads_definitions.py:232:9: error[invalid-overload] `@override` decorator should be applied only to the overload implementation +overloads_definitions.py:228:9: error[misplaced-overload-decorator] `@override` decorator should be applied only to the overload implementation +overloads_definitions.py:232:9: error[misplaced-overload-decorator] `@override` decorator should be applied only to the overload implementation """ diff --git a/conformance/results/ty/overloads_definitions_stub.toml b/conformance/results/ty/overloads_definitions_stub.toml index 43ec8feea..e403f71f9 100644 --- a/conformance/results/ty/overloads_definitions_stub.toml +++ b/conformance/results/ty/overloads_definitions_stub.toml @@ -2,12 +2,12 @@ conformance_automated = "Pass" errors_diff = """ """ output = """ -overloads_definitions_stub.pyi:14:5: error[invalid-overload] Overloaded function `func1` requires at least two overloads: Only one overload defined here -overloads_definitions_stub.pyi:37:9: error[invalid-overload] Overloaded function `func5` does not use the `@staticmethod` decorator consistently -overloads_definitions_stub.pyi:44:9: error[invalid-overload] Overloaded function `func6` does not use the `@classmethod` decorator consistently -overloads_definitions_stub.pyi:73:9: error[invalid-overload] `@final` decorator should be applied only to the first overload -overloads_definitions_stub.pyi:86:9: error[invalid-overload] `@final` decorator should be applied only to the first overload +overloads_definitions_stub.pyi:14:5: error[single-overload] Overloaded function `func1` requires at least two overloads: Only one overload defined here +overloads_definitions_stub.pyi:37:9: error[inconsistent-overload-decorator] Overloaded function `func5` does not use the `@staticmethod` decorator consistently +overloads_definitions_stub.pyi:44:9: error[inconsistent-overload-decorator] Overloaded function `func6` does not use the `@classmethod` decorator consistently +overloads_definitions_stub.pyi:73:9: error[misplaced-overload-decorator] `@final` decorator should be applied only to the first overload +overloads_definitions_stub.pyi:86:9: error[misplaced-overload-decorator] `@final` decorator should be applied only to the first overload overloads_definitions_stub.pyi:111:9: error[override-of-final-method] Cannot override final member `final_method` from superclass `Base` overloads_definitions_stub.pyi:122:9: error[invalid-explicit-override] Method `bad_override` is decorated with `@override` but does not override anything -overloads_definitions_stub.pyi:147:9: error[invalid-overload] `@override` decorator should be applied only to the first overload +overloads_definitions_stub.pyi:147:9: error[misplaced-overload-decorator] `@override` decorator should be applied only to the first overload """ diff --git a/conformance/results/ty/protocols_explicit.toml b/conformance/results/ty/protocols_explicit.toml index 1390ea2cb..5eafa0d85 100644 --- a/conformance/results/ty/protocols_explicit.toml +++ b/conformance/results/ty/protocols_explicit.toml @@ -10,7 +10,7 @@ Line 89: Expected 1 errors """ output = """ protocols_explicit.py:56:9: error[invalid-assignment] Object of type `tuple[int, int, str]` is not assignable to attribute `rgb` of type `tuple[int, int, int]` -protocols_explicit.py:60:5: error[call-non-callable] Cannot instantiate `Point` with unimplemented abstract methods `intensity` and `transparency` -protocols_explicit.py:134:6: error[call-non-callable] Cannot instantiate `Concrete5` with unimplemented abstract method `method1` -protocols_explicit.py:164:7: error[call-non-callable] Cannot instantiate `Concrete7A` with unimplemented abstract method `method1` +protocols_explicit.py:60:5: error[abstract-class-instantiation] Cannot instantiate `Point` with unimplemented abstract methods `intensity` and `transparency` +protocols_explicit.py:134:6: error[abstract-class-instantiation] Cannot instantiate `Concrete5` with unimplemented abstract method `method1` +protocols_explicit.py:164:7: error[abstract-class-instantiation] Cannot instantiate `Concrete7A` with unimplemented abstract method `method1` """ diff --git a/conformance/results/ty/protocols_merging.toml b/conformance/results/ty/protocols_merging.toml index 539c057e8..cc9a87071 100644 --- a/conformance/results/ty/protocols_merging.toml +++ b/conformance/results/ty/protocols_merging.toml @@ -6,6 +6,6 @@ protocols_merging.py:52:25: error[invalid-assignment] Object of type `SCConcrete protocols_merging.py:53:25: error[invalid-assignment] Object of type `SCConcrete2` is not assignable to `SizedAndClosable2` protocols_merging.py:54:25: error[invalid-assignment] Object of type `SCConcrete2` is not assignable to `SizedAndClosable3` protocols_merging.py:67:16: error[invalid-protocol] Protocol class `BadProto` cannot inherit from non-protocol class `SizedAndClosable3` -protocols_merging.py:82:5: error[call-non-callable] Cannot instantiate `SizedAndClosable4` with unimplemented abstract method `close` +protocols_merging.py:82:5: error[abstract-class-instantiation] Cannot instantiate `SizedAndClosable4` with unimplemented abstract method `close` protocols_merging.py:83:24: error[invalid-assignment] Object of type `SCConcrete1` is not assignable to `SizedAndClosable4` """ diff --git a/conformance/results/ty/protocols_subtyping.toml b/conformance/results/ty/protocols_subtyping.toml index 3e5b0c8dd..b42bf886a 100644 --- a/conformance/results/ty/protocols_subtyping.toml +++ b/conformance/results/ty/protocols_subtyping.toml @@ -2,7 +2,7 @@ conformance_automated = "Pass" errors_diff = """ """ output = """ -protocols_subtyping.py:16:6: error[call-non-callable] Cannot instantiate class `Proto1`: This call will raise `TypeError` at runtime +protocols_subtyping.py:16:6: error[abstract-class-instantiation] Cannot instantiate class `Proto1`: This call will raise `TypeError` at runtime protocols_subtyping.py:38:21: error[invalid-assignment] Object of type `Proto2` is not assignable to `Concrete2` protocols_subtyping.py:55:18: error[invalid-assignment] Object of type `Proto2` is not assignable to `Proto3` protocols_subtyping.py:79:30: error[invalid-assignment] Object of type `Proto5[int]` is not assignable to `Proto4[int, float]` diff --git a/conformance/results/ty/qualifiers_annotated.toml b/conformance/results/ty/qualifiers_annotated.toml index cd76ea815..926fbcaab 100644 --- a/conformance/results/ty/qualifiers_annotated.toml +++ b/conformance/results/ty/qualifiers_annotated.toml @@ -19,7 +19,7 @@ qualifiers_annotated.py:71:24: error[invalid-assignment] Object of type `]'>` is not assignable to `type[Any]` qualifiers_annotated.py:79:7: error[invalid-argument-type] Argument to function `func4` is incorrect: Expected `type[Unknown]`, found `]'>` qualifiers_annotated.py:80:7: error[invalid-argument-type] Argument to function `func4` is incorrect: Expected `type[Unknown]`, found `]'>` -qualifiers_annotated.py:86:1: error[call-non-callable] Object of type `` is not callable -qualifiers_annotated.py:87:1: error[call-non-callable] Object of type `GenericAlias` is not callable -qualifiers_annotated.py:88:1: error[call-non-callable] Object of type `GenericAlias` is not callable +qualifiers_annotated.py:86:1: error[not-callable] Object of type `` is not callable +qualifiers_annotated.py:87:1: error[not-callable] Object of type `GenericAlias` is not callable +qualifiers_annotated.py:88:1: error[not-callable] Object of type `GenericAlias` is not callable """ diff --git a/conformance/results/ty/qualifiers_final_decorator.toml b/conformance/results/ty/qualifiers_final_decorator.toml index 7236dc2a4..f573f8654 100644 --- a/conformance/results/ty/qualifiers_final_decorator.toml +++ b/conformance/results/ty/qualifiers_final_decorator.toml @@ -7,10 +7,10 @@ qualifiers_final_decorator.py:56:9: error[override-of-final-method] Cannot overr qualifiers_final_decorator.py:60:9: error[override-of-final-method] Cannot override final member `method2` from superclass `Base2` qualifiers_final_decorator.py:64:9: error[override-of-final-method] Cannot override final member `method3` from superclass `Base2` qualifiers_final_decorator.py:75:9: error[override-of-final-method] Cannot override final member `method4` from superclass `Base2` -qualifiers_final_decorator.py:86:9: error[invalid-overload] `@final` decorator should be applied only to the overload implementation +qualifiers_final_decorator.py:86:9: error[misplaced-overload-decorator] `@final` decorator should be applied only to the overload implementation qualifiers_final_decorator.py:89:9: error[override-of-final-method] Cannot override final member `method` from superclass `Base3` qualifiers_final_decorator.py:102:9: error[override-of-final-method] Cannot override final member `method` from superclass `Base4` -qualifiers_final_decorator.py:118:9: error[invalid-method-override] Invalid override of method `method`: Definition is incompatible with `Base5_2.method` +qualifiers_final_decorator.py:118:9: error[incompatible-method-override] Invalid override of method `method`: Definition is incompatible with `Base5_2.method` qualifiers_final_decorator.py:118:9: error[override-of-final-method] Cannot override final member `method` from superclass `Base5_2` qualifiers_final_decorator.py:125:1: error[final-on-non-method] `@final` cannot be applied to non-method function `func1` """ diff --git a/conformance/results/ty/specialtypes_never.toml b/conformance/results/ty/specialtypes_never.toml index 9f528bb43..e027b1f6b 100644 --- a/conformance/results/ty/specialtypes_never.toml +++ b/conformance/results/ty/specialtypes_never.toml @@ -2,7 +2,7 @@ conformance_automated = "Pass" errors_diff = """ """ output = """ -specialtypes_never.py:19:22: error[invalid-return-type] Function always implicitly returns `None`, which is not assignable to return type `Never` +specialtypes_never.py:19:22: error[invalid-implicit-return] Function always implicitly returns `None`, which is not assignable to return type `Never` specialtypes_never.py:85:21: error[invalid-assignment] Object of type `list[Never]` is not assignable to `list[int]` -specialtypes_never.py:104:12: error[invalid-return-type] Return type does not match returned value: expected `ClassC[U@func10]`, found `ClassC[Never]` +specialtypes_never.py:104:12: error[invalid-explicit-return] Return type does not match returned value: expected `ClassC[U@func10]`, found `ClassC[Never]` """ diff --git a/conformance/results/ty/specialtypes_promotions.toml b/conformance/results/ty/specialtypes_promotions.toml index 1e2be6c14..8a50d1ffb 100644 --- a/conformance/results/ty/specialtypes_promotions.toml +++ b/conformance/results/ty/specialtypes_promotions.toml @@ -2,5 +2,5 @@ conformance_automated = "Pass" errors_diff = """ """ output = """ -specialtypes_promotions.py:13:5: error[unresolved-attribute] Attribute `numerator` is not defined on `float*` in union `float` +specialtypes_promotions.py:13:5: error[missing-union-attribute] Attribute `numerator` is not defined on `float*` in union `float` """ diff --git a/conformance/results/ty/specialtypes_type.toml b/conformance/results/ty/specialtypes_type.toml index b059eb5e5..165768252 100644 --- a/conformance/results/ty/specialtypes_type.toml +++ b/conformance/results/ty/specialtypes_type.toml @@ -5,32 +5,32 @@ Treats `type` equivalently to `type[object]` rather than `type[typing.Any]`. """ errors_diff = """ Line 84: Unexpected errors ['specialtypes_type.py:84:5: error[type-assertion-failure] Type `type` does not match asserted type `type[Any]`'] -Line 99: Unexpected errors ['specialtypes_type.py:99:17: error[unresolved-attribute] Object of type `type` has no attribute `unknown`'] -Line 100: Unexpected errors ['specialtypes_type.py:100:17: error[unresolved-attribute] Object of type `type` has no attribute `unknown`'] -Line 107: Unexpected errors ['specialtypes_type.py:107:17: error[unresolved-attribute] Object of type `type` has no attribute `unknown`'] -Line 108: Unexpected errors ['specialtypes_type.py:108:17: error[unresolved-attribute] Object of type `type` has no attribute `unknown`'] +Line 99: Unexpected errors ['specialtypes_type.py:99:17: error[missing-attribute] Object of type `type` has no attribute `unknown`'] +Line 100: Unexpected errors ['specialtypes_type.py:100:17: error[missing-attribute] Object of type `type` has no attribute `unknown`'] +Line 107: Unexpected errors ['specialtypes_type.py:107:17: error[missing-attribute] Object of type `type` has no attribute `unknown`'] +Line 108: Unexpected errors ['specialtypes_type.py:108:17: error[missing-attribute] Object of type `type` has no attribute `unknown`'] Line 137: Unexpected errors ['specialtypes_type.py:137:5: error[type-assertion-failure] Type `type` does not match asserted type `type[Any]`'] Line 139: Unexpected errors ['specialtypes_type.py:139:5: error[type-assertion-failure] Type `type` does not match asserted type `type[Any]`'] Line 169: Unexpected errors ['specialtypes_type.py:169:21: error[invalid-assignment] Object of type `type` is not assignable to `type[int]`'] -Line 175: Unexpected errors ['specialtypes_type.py:175:16: error[invalid-return-type] Return type does not match returned value: expected `type[T@ClassA]`, found `type`'] +Line 175: Unexpected errors ['specialtypes_type.py:175:16: error[invalid-explicit-return] Return type does not match returned value: expected `type[T@ClassA]`, found `type`'] """ output = """ specialtypes_type.py:56:7: error[invalid-argument-type] Argument to function `func4` is incorrect: Expected `type[BasicUser | ProUser]`, found `` specialtypes_type.py:70:7: error[invalid-argument-type] Argument to function `func5` is incorrect: Expected `type[Unknown]`, found `` specialtypes_type.py:76:17: error[invalid-type-form] type[...] must have exactly one type argument specialtypes_type.py:84:5: error[type-assertion-failure] Type `type` does not match asserted type `type[Any]` -specialtypes_type.py:99:17: error[unresolved-attribute] Object of type `type` has no attribute `unknown` -specialtypes_type.py:100:17: error[unresolved-attribute] Object of type `type` has no attribute `unknown` -specialtypes_type.py:107:17: error[unresolved-attribute] Object of type `type` has no attribute `unknown` -specialtypes_type.py:108:17: error[unresolved-attribute] Object of type `type` has no attribute `unknown` -specialtypes_type.py:117:5: error[unresolved-attribute] Object of type `type` has no attribute `unknown` -specialtypes_type.py:120:5: error[unresolved-attribute] Object of type `type` has no attribute `unknown` +specialtypes_type.py:99:17: error[missing-attribute] Object of type `type` has no attribute `unknown` +specialtypes_type.py:100:17: error[missing-attribute] Object of type `type` has no attribute `unknown` +specialtypes_type.py:107:17: error[missing-attribute] Object of type `type` has no attribute `unknown` +specialtypes_type.py:108:17: error[missing-attribute] Object of type `type` has no attribute `unknown` +specialtypes_type.py:117:5: error[missing-attribute] Object of type `type` has no attribute `unknown` +specialtypes_type.py:120:5: error[missing-attribute] Object of type `type` has no attribute `unknown` specialtypes_type.py:137:5: error[type-assertion-failure] Type `type` does not match asserted type `type[Any]` specialtypes_type.py:139:5: error[type-assertion-failure] Type `type` does not match asserted type `type[Any]` -specialtypes_type.py:143:1: error[unresolved-attribute] Special form `typing.Type` has no attribute `unknown` -specialtypes_type.py:144:1: error[unresolved-attribute] Object of type `` has no attribute `unknown` -specialtypes_type.py:145:1: error[unresolved-attribute] Class `type` has no attribute `unknown` -specialtypes_type.py:146:1: error[unresolved-attribute] Object of type `` has no attribute `unknown` +specialtypes_type.py:143:1: error[missing-attribute] Special form `typing.Type` has no attribute `unknown` +specialtypes_type.py:144:1: error[missing-attribute] Object of type `` has no attribute `unknown` +specialtypes_type.py:145:1: error[missing-attribute] Class `type` has no attribute `unknown` +specialtypes_type.py:146:1: error[missing-attribute] Object of type `` has no attribute `unknown` specialtypes_type.py:169:21: error[invalid-assignment] Object of type `type` is not assignable to `type[int]` -specialtypes_type.py:175:16: error[invalid-return-type] Return type does not match returned value: expected `type[T@ClassA]`, found `type` +specialtypes_type.py:175:16: error[invalid-explicit-return] Return type does not match returned value: expected `type[T@ClassA]`, found `type` """ diff --git a/conformance/results/ty/typeddicts_alt_syntax.toml b/conformance/results/ty/typeddicts_alt_syntax.toml index 4a49527d4..b6877b16c 100644 --- a/conformance/results/ty/typeddicts_alt_syntax.toml +++ b/conformance/results/ty/typeddicts_alt_syntax.toml @@ -4,7 +4,7 @@ errors_diff = """ output = """ typeddicts_alt_syntax.py:23:44: error[invalid-argument-type] Expected a dict literal for parameter `fields` of `TypedDict()` typeddicts_alt_syntax.py:27:45: error[invalid-argument-type] Expected a string-literal key in the `fields` dict of `TypedDict()`: Found `Literal[1]` -typeddicts_alt_syntax.py:31:27: error[mismatched-type-name] The name passed to `TypedDict` must match the variable it is assigned to: Expected "BadTypedDict3", got "WrongName" +typeddicts_alt_syntax.py:31:27: error[mismatched-typeddict-name] The name passed to `TypedDict` must match the variable it is assigned to: Expected "BadTypedDict3", got "WrongName" typeddicts_alt_syntax.py:35:72: error[unknown-argument] Argument `other` does not match any known parameter of function `TypedDict` typeddicts_alt_syntax.py:41:10: error[missing-argument] No argument provided for required parameter `fields` of function `TypedDict` typeddicts_alt_syntax.py:41:30: error[unknown-argument] Argument `name` does not match any known parameter of function `TypedDict` diff --git a/conformance/results/ty/typeddicts_class_syntax.toml b/conformance/results/ty/typeddicts_class_syntax.toml index 86d0c210c..14e6ef19d 100644 --- a/conformance/results/ty/typeddicts_class_syntax.toml +++ b/conformance/results/ty/typeddicts_class_syntax.toml @@ -10,5 +10,5 @@ typeddicts_class_syntax.py:34:5: error[invalid-typed-dict-statement] TypedDict c typeddicts_class_syntax.py:39:5: error[invalid-typed-dict-statement] TypedDict class cannot have methods typeddicts_class_syntax.py:49:32: error[invalid-typed-dict-header] Custom metaclasses are not supported in `TypedDict` definitions typeddicts_class_syntax.py:54:32: error[unknown-argument] Unknown keyword argument `other` in `TypedDict` definition -typeddicts_class_syntax.py:69:28: error[invalid-key] Unknown key "z" for TypedDict `ConditionalField` +typeddicts_class_syntax.py:69:28: error[unknown-typed-dict-constructor-key] Unknown key "z" for TypedDict `ConditionalField` """ diff --git a/conformance/results/ty/typeddicts_extra_items.toml b/conformance/results/ty/typeddicts_extra_items.toml index c1f7d049a..a4cfb895e 100644 --- a/conformance/results/ty/typeddicts_extra_items.toml +++ b/conformance/results/ty/typeddicts_extra_items.toml @@ -24,9 +24,9 @@ typeddicts_extra_items.py:242:19: error[invalid-assignment] Object of type `Movi typeddicts_extra_items.py:256:13: error[invalid-assignment] Object of type `MovieExtraStr` is not assignable to `MovieExtraInt` typeddicts_extra_items.py:257:13: error[invalid-assignment] Object of type `MovieExtraInt` is not assignable to `MovieExtraStr` typeddicts_extra_items.py:268:14: error[invalid-assignment] Object of type `MovieNotClosed` is not assignable to `MovieExtraInt` -typeddicts_extra_items.py:278:47: error[invalid-key] Unknown key "year" for TypedDict `NonClosedMovie` +typeddicts_extra_items.py:278:47: error[unknown-typed-dict-constructor-key] Unknown key "year" for TypedDict `NonClosedMovie` typeddicts_extra_items.py:285:52: error[invalid-argument-type] Invalid argument to key "language" with declared type `int` on TypedDict `ExtraMovie`: value of type `Literal["English"]` -typeddicts_extra_items.py:293:44: error[invalid-key] Unknown key "year" for TypedDict `ClosedMovie` +typeddicts_extra_items.py:293:44: error[unknown-typed-dict-constructor-key] Unknown key "year" for TypedDict `ClosedMovie` typeddicts_extra_items.py:303:34: error[invalid-assignment] Object of type `MovieExtraInt` is not assignable to `Mapping[str, int]` typeddicts_extra_items.py:352:25: error[invalid-assignment] Object of type `dict[str, int]` is not assignable to `IntDict` """ diff --git a/conformance/results/ty/typeddicts_operations.toml b/conformance/results/ty/typeddicts_operations.toml index 7a6929fb0..69f190ba6 100644 --- a/conformance/results/ty/typeddicts_operations.toml +++ b/conformance/results/ty/typeddicts_operations.toml @@ -4,13 +4,13 @@ errors_diff = """ output = """ typeddicts_operations.py:22:17: error[invalid-assignment] Invalid assignment to key "name" with declared type `str` on TypedDict `Movie`: value of type `Literal[1982]` typeddicts_operations.py:23:17: error[invalid-assignment] Invalid assignment to key "year" with declared type `int` on TypedDict `Movie`: value of type `Literal[""]` -typeddicts_operations.py:24:7: error[invalid-key] Unknown key "other" for TypedDict `Movie` -typeddicts_operations.py:26:13: error[invalid-key] Unknown key "other" for TypedDict `Movie` +typeddicts_operations.py:24:7: error[invalid-typed-dict-key] Unknown key "other" for TypedDict `Movie` +typeddicts_operations.py:26:13: error[invalid-typed-dict-key] Unknown key "other" for TypedDict `Movie` typeddicts_operations.py:28:9: error[missing-typed-dict-key] Missing required key 'year' in TypedDict `Movie` constructor typeddicts_operations.py:29:42: error[invalid-argument-type] Invalid argument to key "year" with declared type `int` on TypedDict `Movie`: value of type `float*` -typeddicts_operations.py:32:36: error[invalid-key] Unknown key "other" for TypedDict `Movie` +typeddicts_operations.py:32:36: error[unknown-typed-dict-constructor-key] Unknown key "other" for TypedDict `Movie` typeddicts_operations.py:37:20: error[missing-typed-dict-key] Missing required key 'name' in TypedDict `Movie` constructor -typeddicts_operations.py:47:1: error[unresolved-attribute] Object of type `Movie` has no attribute `clear` +typeddicts_operations.py:47:1: error[missing-attribute] Object of type `Movie` has no attribute `clear` typeddicts_operations.py:49:11: error[invalid-argument-type] Cannot delete required key "name" from TypedDict `Movie` -typeddicts_operations.py:62:1: error[unresolved-attribute] Object of type `MovieOptional` has no attribute `clear` +typeddicts_operations.py:62:1: error[missing-attribute] Object of type `MovieOptional` has no attribute `clear` """ diff --git a/conformance/results/ty/typeddicts_type_consistency.toml b/conformance/results/ty/typeddicts_type_consistency.toml index 030df7b1e..851bdb947 100644 --- a/conformance/results/ty/typeddicts_type_consistency.toml +++ b/conformance/results/ty/typeddicts_type_consistency.toml @@ -5,7 +5,7 @@ output = """ typeddicts_type_consistency.py:21:10: error[invalid-assignment] Object of type `B1` is not assignable to `A1` typeddicts_type_consistency.py:38:10: error[invalid-assignment] Object of type `B2` is not assignable to `A2` typeddicts_type_consistency.py:65:6: error[invalid-assignment] Object of type `A3` is not assignable to `B3` -typeddicts_type_consistency.py:69:21: error[invalid-key] Unknown key "y" for TypedDict `A3` +typeddicts_type_consistency.py:69:21: error[unknown-typed-dict-constructor-key] Unknown key "y" for TypedDict `A3` typeddicts_type_consistency.py:76:22: error[invalid-assignment] Object of type `B3` is not assignable to `dict[str, int]` typeddicts_type_consistency.py:77:25: error[invalid-assignment] Object of type `B3` is not assignable to `dict[str, object]` typeddicts_type_consistency.py:78:22: error[invalid-assignment] Object of type `B3` is not assignable to `dict[Any, Any]` diff --git a/conformance/results/ty/typeddicts_usage.toml b/conformance/results/ty/typeddicts_usage.toml index 648b7db1d..03041b40d 100644 --- a/conformance/results/ty/typeddicts_usage.toml +++ b/conformance/results/ty/typeddicts_usage.toml @@ -2,10 +2,10 @@ conformance_automated = "Pass" errors_diff = """ """ output = """ -typeddicts_usage.py:23:7: error[invalid-key] Unknown key "director" for TypedDict `Movie` +typeddicts_usage.py:23:7: error[invalid-typed-dict-key] Unknown key "director" for TypedDict `Movie` typeddicts_usage.py:24:17: error[invalid-assignment] Invalid assignment to key "year" with declared type `int` on TypedDict `Movie`: value of type `Literal["1982"]` typeddicts_usage.py:28:17: error[missing-typed-dict-key] Missing required key 'name' in TypedDict `Movie` constructor -typeddicts_usage.py:28:18: error[invalid-key] Unknown key "title" for TypedDict `Movie` +typeddicts_usage.py:28:18: error[unknown-typed-dict-constructor-key] Unknown key "title" for TypedDict `Movie` typeddicts_usage.py:35:4: error[isinstance-against-typed-dict] `TypedDict` class `Movie` cannot be used as the second argument to `isinstance`: This call will raise `TypeError` at runtime typeddicts_usage.py:40:24: error[invalid-type-form] The special form `typing.TypedDict` is not allowed in type expressions """ diff --git a/conformance/results/ty/version.toml b/conformance/results/ty/version.toml index de28a49c9..47ed2011d 100644 --- a/conformance/results/ty/version.toml +++ b/conformance/results/ty/version.toml @@ -1 +1 @@ -version = "ty 0.0.93" +version = "ty 0.0.108" diff --git a/conformance/tests/ty.toml b/conformance/tests/ty.toml index dcd178048..ef267a7ae 100644 --- a/conformance/tests/ty.toml +++ b/conformance/tests/ty.toml @@ -7,6 +7,13 @@ invalid-legacy-positional-parameter = "error" redundant-final-classvar = "error" assert-type-unspellable-subtype = "ignore" invalid-enum-member-annotation = "error" -mismatched-type-name = "error" +mismatched-newtype-name = "error" +mismatched-typevar-name = "error" +mismatched-typevartuple-name = "error" +mismatched-type-alias-name = "error" +mismatched-paramspec-name = "error" +mismatched-typeddict-name = "error" +single-overload = "error" +suspicious-type-is-narrowing = "error" invalid-named-tuple-override = "error" ambiguous-protocol-member = "error" diff --git a/conformance/uv.lock b/conformance/uv.lock index fec13c497..076d48012 100644 --- a/conformance/uv.lock +++ b/conformance/uv.lock @@ -1,5 +1,5 @@ version = 1 -revision = 3 +revision = 5 requires-python = "==3.12.*" [[package]] @@ -224,27 +224,27 @@ wheels = [ [[package]] name = "ty" -version = "0.0.93" +version = "0.0.108" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/78/35/e1cbce56e80f6d911b6b6821d211b4150d0e061d426df038cad78d2800f4/ty-0.0.93.tar.gz", hash = "sha256:18b99060d7f1d601fd4ce1acdcc336d1b3345fea8561307948827e8809c31c25", size = 8105272, upload-time = "2026-10-28T00:52:42.089Z" } +sdist = { url = "https://files.pythonhosted.org/packages/25/e3/2d5ad8406ba1f8e7e404a70bf19bfd1af68f6548b03d2b48243acef5a4ab/ty-0.0.108.tar.gz", hash = "sha256:890f214ca1e2f3b14da23d0f519132d466ba09fdb820677df73ae208a6683784", size = 8365522, upload-time = "2026-11-22T20:39:34.301Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/4e/16/5b0766d3de2b531f47d6f24986f21607546b6ee1861d294ccec69a750b45/ty-0.0.93-py3-none-linux_armv6l.whl", hash = "sha256:74fad0e17d96076364be426b15ed3f052f068ec6e37b9d8dbf9c9c424fcb6f0d", size = 14510907, upload-time = "2026-10-28T00:52:04.298Z" }, - { url = "https://files.pythonhosted.org/packages/14/4a/ba4e9586f22b42f86e95c5f06798d30b288e1d6557b29c137384031c561c/ty-0.0.93-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:83beb545d52c38deb910d977679dcac1c274f5cf8ee0a1868b10d390042c40df", size = 14074052, upload-time = "2026-10-28T00:52:07.324Z" }, - { url = "https://files.pythonhosted.org/packages/ce/3c/00e4195634b61a6ec1f53a2c70777df644a3ee79f6579b48c4e2f6e884d0/ty-0.0.93-py3-none-macosx_11_0_arm64.whl", hash = "sha256:47d6be14343a997c6f828d812513f940929c906f6cf83ca4cdd74db6e16ef261", size = 13132684, upload-time = "2026-10-28T00:52:09.528Z" }, - { url = "https://files.pythonhosted.org/packages/3e/f4/36fb44a79e2d7c8b2d5f2c42cab6d2c1d4d0e8b9fb7e51acb82648fc4d3e/ty-0.0.93-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d696b82ade77500826d84874d46658020486daa9d39eabc71b94a641247ce484", size = 13955788, upload-time = "2026-10-28T00:52:11.478Z" }, - { url = "https://files.pythonhosted.org/packages/49/21/ae904789846d93e4b01faa33ef9a73f28657dd88b8b99619dbae05f30f1d/ty-0.0.93-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:9882e7b55ee025feceaf8f1210acda368f931c3f597771385f97a460292a9c8b", size = 14252702, upload-time = "2026-10-28T00:52:13.466Z" }, - { url = "https://files.pythonhosted.org/packages/13/8e/fecf0492b20f1e28fafac944f5a6c7a404d8408f2e6fb0fb5666550f994f/ty-0.0.93-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:318871545c28f22564b445cadd022650e0fa892c913c0c1eb4cf6345d72037a2", size = 15192511, upload-time = "2026-10-28T00:52:15.923Z" }, - { url = "https://files.pythonhosted.org/packages/97/1f/67d3284747800456e96892d51df3fefc9f98b844653a86cfc6312902a490/ty-0.0.93-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1f9c494291a7c83706b380e31606f88b6dcf801499623645861c3099c17edc01", size = 15594668, upload-time = "2026-10-28T00:52:18.133Z" }, - { url = "https://files.pythonhosted.org/packages/ed/1f/2a903b2309c8ea265a0cef1edc00fa9223be42d004171f7f87aded4b1bed/ty-0.0.93-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:43ff1ee239c94260cf2146e23537fb069b7267423723096603051bb7d36ce165", size = 15533756, upload-time = "2026-10-28T00:52:20.271Z" }, - { url = "https://files.pythonhosted.org/packages/dc/75/99bdbbd00220703c51af60160fb1c080f653b45ddb585baf8468588f70ef/ty-0.0.93-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1c278c86adeb82374e0f5142b44bb628e9dcb663d98e8f274707300d926e0997", size = 16236455, upload-time = "2026-10-28T00:52:22.244Z" }, - { url = "https://files.pythonhosted.org/packages/ca/7d/edbcce5e504275b3574272629c2c7d657c666312fd5a74a5a3202f256e0a/ty-0.0.93-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:02c7cc6f1d9d2fe49eff5b230d243c696ac798ecce034998e3d67872ab2a5236", size = 15065832, upload-time = "2026-10-28T00:52:24.23Z" }, - { url = "https://files.pythonhosted.org/packages/e6/ce/201c42e84b49a8bb6473edfd3e16e311b942178cefd9678f98dda36f25a4/ty-0.0.93-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:50c580e31da3e4dd3f1b7ab1969497996ab55e61ee06d90132ab46a2964249ef", size = 13919356, upload-time = "2026-10-28T00:52:26.893Z" }, - { url = "https://files.pythonhosted.org/packages/68/5c/f323a70974bd57274d4315d1894586498557e21d4d78cd35b550deaf7878/ty-0.0.93-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:7f037c1761a6874cc0072c39950a987cd6d1563d6df3c94bb131b3e727e921c9", size = 14258573, upload-time = "2026-10-28T00:52:29.049Z" }, - { url = "https://files.pythonhosted.org/packages/c8/ba/0d2a2f0892d19c91cef7785ac1bac5de555059f1bad2a0009d83f2df1d0d/ty-0.0.93-py3-none-musllinux_1_2_i686.whl", hash = "sha256:a8bfbcc8a715a5497210cc89eb134476f511b2de3004697c96b5f6eaa0f1602b", size = 14613304, upload-time = "2026-10-28T00:52:31.474Z" }, - { url = "https://files.pythonhosted.org/packages/b8/02/b0f7b83ef79c85b8813e54ed73189995e3d4ec2f1dda791a8d0acd051386/ty-0.0.93-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:19ae7e56c9021d7eafbc305926ca174183b431c63c27e9d2b7db342d45142446", size = 14937750, upload-time = "2026-10-28T00:52:33.528Z" }, - { url = "https://files.pythonhosted.org/packages/06/ad/d2ece9e2ec588394d0ea0c12b683ff68540f5534988b4e4412664bb87a56/ty-0.0.93-py3-none-win32.whl", hash = "sha256:1c677be05fb0ef0864a305fa4a5258190fc0fc9d79f53c1ce93a0342256f21f1", size = 13464721, upload-time = "2026-10-28T00:52:35.916Z" }, - { url = "https://files.pythonhosted.org/packages/a9/17/ef0c1180498564f08331f4be35aea9de09b37c6ca12fa50ad1959d9d1e38/ty-0.0.93-py3-none-win_amd64.whl", hash = "sha256:65072e0a71f9af81a31a4656521c96eaf539452c37287b9e14a81504b22e0864", size = 14091561, upload-time = "2026-10-28T00:52:38.008Z" }, - { url = "https://files.pythonhosted.org/packages/ef/f8/13fb149c7c5a33be119ecea9c56033b32cc1f87c5ac84d577f2236b7c964/ty-0.0.93-py3-none-win_arm64.whl", hash = "sha256:47991915f6a2101cc63da1dd07b2f3bbd226ab4a14ff3c858b20764c38376166", size = 13552165, upload-time = "2026-10-28T00:52:40.111Z" }, + { url = "https://files.pythonhosted.org/packages/ba/43/e3a38bbbc2b12e6d73a7436eea4460f23b688379cbcd2a90ed73149e9bd5/ty-0.0.108-py3-none-linux_armv6l.whl", hash = "sha256:fb9e3fa90be011b1f207e608a2d38ca346d7472ace73c8c0d3be0b1becf0b08c", size = 15213695, upload-time = "2026-11-22T20:38:44.831Z" }, + { url = "https://files.pythonhosted.org/packages/8e/c1/37586d41acca1d868612145dc95891651fb1c2f83d1c344a63b44cd3a55b/ty-0.0.108-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:d9d8ab352bd26cc48c04aa952e20dba1a95d30b5e6843f064d1577ba1141fe93", size = 14764727, upload-time = "2026-11-22T20:38:48.341Z" }, + { url = "https://files.pythonhosted.org/packages/2b/b3/cf7ecbb7ce5074b068a2fb87f30fe49c36b51675c71cb213d9c715c5a047/ty-0.0.108-py3-none-macosx_11_0_arm64.whl", hash = "sha256:9658f63e85e5091ba8a98b4fbac130d8d0803dfef59e60c955d63cbb190cc184", size = 14147457, upload-time = "2026-11-22T20:38:51.141Z" }, + { url = "https://files.pythonhosted.org/packages/ba/84/d834cfcbc952cfa978d097ec94febbfc8ca584b5aff0f22000c3ad5fa56f/ty-0.0.108-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ac1691ca432b088328f7c3b0d00f93df864321f9f8c01f92361154b7b3e90a0e", size = 15058347, upload-time = "2026-11-22T20:38:53.99Z" }, + { url = "https://files.pythonhosted.org/packages/b8/1a/f5ebb467db69e7f782fb7c23d278c727a07e9db4fe632c5ce6858607ce55/ty-0.0.108-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:392de4b171217a185e190ea2f0694a59d51da9735f574fea9f51fb4652700680", size = 14928726, upload-time = "2026-11-22T20:38:57.052Z" }, + { url = "https://files.pythonhosted.org/packages/d6/21/e454430a104287ee144e60ea276985632fb972e1436190664371f6e07cd4/ty-0.0.108-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:850a4499f1403212ec952ae6b50f32b360effb41246aafe3c3bbf2c67984579d", size = 15929508, upload-time = "2026-11-22T20:38:59.864Z" }, + { url = "https://files.pythonhosted.org/packages/eb/67/6b83281e36dc75d61aa4e8b00a6cd1414e69b71df297f91885ec77fd2aa5/ty-0.0.108-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:52a9e6aea2c256e1bbcf6e707d37f6cafae7dc2eddbe1721fd1bc5c04b378fdc", size = 16391782, upload-time = "2026-11-22T20:39:02.691Z" }, + { url = "https://files.pythonhosted.org/packages/33/54/cda092c261f34362a7df9c8f43672e79a6903b7f4c3b6e4337b807a64279/ty-0.0.108-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:8a65fae6fea166b49b789c2c1173799f36e4605f0708b5092e673947622f550b", size = 16255280, upload-time = "2026-11-22T20:39:05.418Z" }, + { url = "https://files.pythonhosted.org/packages/d9/6f/4f571395f008836a4484face380605d542d151e1ec79b18d6da872751f98/ty-0.0.108-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:da697fde0b0967325a7320c7dc8769610166d7f482d3f6d57cc3f7a1d6fa3493", size = 17614227, upload-time = "2026-11-22T20:39:08.266Z" }, + { url = "https://files.pythonhosted.org/packages/8a/d9/615113362c74a44cf9b66dee732a131538f60e1531bf66359a4acb150121/ty-0.0.108-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:1248956ab6e447645c852c32fc721e55b365c1ce02db333b92beb604ab80e34f", size = 15781728, upload-time = "2026-11-22T20:39:11.161Z" }, + { url = "https://files.pythonhosted.org/packages/63/3c/fb0c28f4b8a682a59480709cd514ebf5c74b49d5116b1eaaa4e0ed96b97a/ty-0.0.108-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:e3840a91f5d5eaa1e89a57ec9423a6d2b568522b8a7768f8f4d19bf1eafc964c", size = 14613664, upload-time = "2026-11-22T20:39:13.78Z" }, + { url = "https://files.pythonhosted.org/packages/42/f3/166b03afa99fe13af1b283981803a722dc69643df2f31a82de731df8fae9/ty-0.0.108-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:51d6ff357a2c956d7ec39a6d210b9f8a34cab298636d482ac898f01fe05d72f5", size = 14938586, upload-time = "2026-11-22T20:39:16.542Z" }, + { url = "https://files.pythonhosted.org/packages/c3/22/226b6564f460cac58d34991ee1e8df43c7f01a972fec221007d499be30a4/ty-0.0.108-py3-none-musllinux_1_2_i686.whl", hash = "sha256:6e26585a8a30ea0ce07e2a828dbe30f6c91fd4606294cb766a75c994e781f1c5", size = 15311649, upload-time = "2026-11-22T20:39:19.596Z" }, + { url = "https://files.pythonhosted.org/packages/9f/91/44231f520591f16d346931cb0ace290b584c7204412a2dc61061dffa69c1/ty-0.0.108-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:27d5ddaa38b1fd29c20974b6988d2273fb67baef2e33aed70dc5041233194ad8", size = 15648579, upload-time = "2026-11-22T20:39:22.697Z" }, + { url = "https://files.pythonhosted.org/packages/72/5a/301e0019e2301f37ee0d20d5931d18513977158da3de4980f399e16418fa/ty-0.0.108-py3-none-win32.whl", hash = "sha256:8b245bcd418e3e66c5e33db422b525efe66f3696e4bcaf1b65d814a5974fb026", size = 14147130, upload-time = "2026-11-22T20:39:25.673Z" }, + { url = "https://files.pythonhosted.org/packages/e8/9d/cf39afc7503261c007e0ef6d2a8d0dd59ac7048b7acd17ccfa9dcaaf397e/ty-0.0.108-py3-none-win_amd64.whl", hash = "sha256:78afe42d0676cd146f20362d5e6738e4c05be3f07403ddefcc37479f7473114f", size = 15159376, upload-time = "2026-11-22T20:39:28.404Z" }, + { url = "https://files.pythonhosted.org/packages/46/c1/f8be83a922f3acaac68e9e401964c9b2b419fe04d63b3d04914f54361386/ty-0.0.108-py3-none-win_arm64.whl", hash = "sha256:61cead735ac5bd7c244d5750e51e614214051788f8171eaafb35a83d096f9709", size = 14243079, upload-time = "2026-11-22T20:39:31.917Z" }, ] [[package]]