Skip to content

Commit 39bf53a

Browse files
committed
Update ty results for v0.0.108
1 parent 9026db3 commit 39bf53a

44 files changed

Lines changed: 135 additions & 149 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎conformance/results/results.html‎

Lines changed: 4 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎conformance/results/ty/aliases_explicit.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ aliases_explicit.py:89:22: error[invalid-type-form] Int literals are not allowed
2121
aliases_explicit.py:90:22: error[invalid-type-form] Boolean operations are not allowed in type alias definitions
2222
aliases_explicit.py:91:22: error[invalid-type-form] F-strings are not allowed in type alias definitions
2323
aliases_explicit.py:100:5: error[not-subscriptable] Cannot subscript non-generic type `list[Unknown]`
24-
aliases_explicit.py:101:6: error[call-non-callable] Object of type `UnionType` is not callable
24+
aliases_explicit.py:101:6: error[not-callable] Object of type `UnionType` is not callable
2525
aliases_explicit.py:102:5: error[not-subscriptable] Cannot subscript non-generic type `list[Unknown] | set[Unknown]`
2626
"""

‎conformance/results/ty/aliases_implicit.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ aliases_implicit.py:116:10: error[invalid-type-form] Variable `BadTypeAlias11` c
2222
aliases_implicit.py:117:10: error[invalid-type-form] Variable `BadTypeAlias12` cannot be used as a type
2323
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
2424
aliases_implicit.py:119:10: error[invalid-type-form] Variable of type `Literal["int | str"]` is not allowed in a parameter annotation
25-
aliases_implicit.py:133:6: error[call-non-callable] Object of type `UnionType` is not callable
25+
aliases_implicit.py:133:6: error[not-callable] Object of type `UnionType` is not callable
2626
aliases_implicit.py:135:5: error[not-subscriptable] Cannot subscript non-generic type `list[Unknown] | set[Unknown]`
2727
"""

‎conformance/results/ty/aliases_newtype.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ aliases_newtype.py:12:14: error[invalid-assignment] Object of type `Literal[42]`
77
aliases_newtype.py:18:11: error[invalid-assignment] Object of type `<NewType pseudo-class 'UserId'>` is not assignable to `type`
88
aliases_newtype.py:23:16: error[invalid-argument-type] Argument to function `isinstance` is incorrect: Expected `_ClassInfo`, found `<NewType pseudo-class 'UserId'>`
99
aliases_newtype.py:26:21: error[invalid-base] Cannot subclass an instance of NewType
10-
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"
10+
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"
1111
aliases_newtype.py:41:6: error[invalid-type-form] `GoodNewType1` is a `NewType` and cannot be specialized
1212
aliases_newtype.py:47:38: error[invalid-newtype] invalid base for `typing.NewType`: type `int | str`
1313
aliases_newtype.py:50:38: error[invalid-newtype] invalid base for `typing.NewType`: A `NewType` base cannot be generic

‎conformance/results/ty/aliases_type_statement.toml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ conformance_automated = "Pass"
22
errors_diff = """
33
"""
44
output = """
5-
aliases_type_statement.py:17:1: error[unresolved-attribute] Object of type `TypeAliasType` has no attribute `bit_count`
6-
aliases_type_statement.py:19:1: error[call-non-callable] Object of type `TypeAliasType` is not callable
7-
aliases_type_statement.py:23:7: error[unresolved-attribute] Object of type `TypeAliasType` has no attribute `other_attrib`
5+
aliases_type_statement.py:17:1: error[missing-attribute] Object of type `TypeAliasType` has no attribute `bit_count`
6+
aliases_type_statement.py:19:1: error[not-callable] Object of type `TypeAliasType` is not callable
7+
aliases_type_statement.py:23:7: error[missing-attribute] Object of type `TypeAliasType` has no attribute `other_attrib`
88
aliases_type_statement.py:26:18: error[invalid-base] Invalid class base with type `TypeAliasType`
99
aliases_type_statement.py:31:22: error[invalid-argument-type] Argument to function `isinstance` is incorrect: Expected `_ClassInfo`, found `TypeAliasType`
1010
aliases_type_statement.py:37:22: error[invalid-type-form] Function calls are not allowed in type alias definitions

‎conformance/results/ty/aliases_typealiastype.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ conformance_automated = "Pass"
22
errors_diff = """
33
"""
44
output = """
5-
aliases_typealiastype.py:32:7: error[unresolved-attribute] Object of type `TypeAliasType` has no attribute `other_attrib`
5+
aliases_typealiastype.py:32:7: error[missing-attribute] Object of type `TypeAliasType` has no attribute `other_attrib`
66
aliases_typealiastype.py:40:21: error[invalid-type-arguments] Type `int` is not assignable to upper bound `str` of type variable `TStr@GoodAlias5`
77
aliases_typealiastype.py:43:40: error[invalid-type-alias-type] Type parameter `S` used in the alias value must be included in `type_params`
88
aliases_typealiastype.py:44:40: error[invalid-type-alias-type] Type parameter `S` used in the alias value must be included in `type_params`

‎conformance/results/ty/annotations_generators.toml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ conformance_automated = "Pass"
22
errors_diff = """
33
"""
44
output = """
5-
annotations_generators.py:51:21: error[invalid-return-type] Function can implicitly return `None`, which is not assignable to return type `C`
6-
annotations_generators.py:54:16: error[invalid-return-type] Return type does not match returned value: expected `C`, found `Literal[False]`
5+
annotations_generators.py:51:21: error[invalid-implicit-return] Function can implicitly return `None`, which is not assignable to return type `C`
6+
annotations_generators.py:54:16: error[invalid-explicit-return] Return type does not match returned value: expected `C`, found `Literal[False]`
77
annotations_generators.py:57:15: error[invalid-yield] Yield type `Literal[3]` does not match annotated yield type `A`
88
annotations_generators.py:66:15: error[invalid-yield] Yield type `Literal[3]` does not match annotated yield type `A`
99
annotations_generators.py:75:11: error[invalid-yield] Yield type `B` does not match annotated yield type `A`
10-
annotations_generators.py:86:21: error[invalid-return-type] Return type does not match returned value: expected `int`, found `types.GeneratorType`
11-
annotations_generators.py:91:27: error[invalid-return-type] Return type does not match returned value: expected `int`, found `types.AsyncGeneratorType`
10+
annotations_generators.py:86:21: error[invalid-generator-return-type] Return type does not match returned value: expected `int`, found `types.GeneratorType`
11+
annotations_generators.py:91:27: error[invalid-generator-return-type] Return type does not match returned value: expected `int`, found `types.AsyncGeneratorType`
1212
annotations_generators.py:118:16: error[invalid-yield] Yield type `A` does not match annotated yield type `B`
1313
annotations_generators.py:119:16: error[invalid-yield] Yield type `int` does not match annotated yield type `B`
1414
annotations_generators.py:135:16: error[invalid-yield] Send type `int` does not match annotated send type `str`

‎conformance/results/ty/callables_protocol.toml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ callables_protocol.py:97:16: error[invalid-assignment] Object of type `def cb4_b
1313
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`
1414
callables_protocol.py:169:7: error[invalid-assignment] Object of type `def cb8_bad1(x: int) -> Any` is not assignable to `Proto8`
1515
callables_protocol.py:186:5: error[invalid-assignment] Object of type `Literal["str"]` is not assignable to attribute `other_attribute` of type `int`
16-
callables_protocol.py:187:5: error[unresolved-attribute] Unresolved attribute `xxx` on type `Proto9[P@decorator1, R@decorator1]`
17-
callables_protocol.py:197:7: error[unresolved-attribute] Object of type `Proto9[(x: int), str]` has no attribute `other_attribute2`
16+
callables_protocol.py:187:5: error[missing-attribute] Unresolved attribute `xxx` on type `Proto9[P@decorator1, R@decorator1]`
17+
callables_protocol.py:197:7: error[missing-attribute] Object of type `Proto9[(x: int), str]` has no attribute `other_attribute2`
1818
callables_protocol.py:238:8: error[invalid-assignment] Object of type `def cb11_bad1(x: int, y: str, /) -> Any` is not assignable to `Proto11`
1919
callables_protocol.py:260:8: error[invalid-assignment] Object of type `def cb12_bad1(*args: Any, kwarg0: Any) -> None` is not assignable to `Proto12`
2020
callables_protocol.py:284:27: error[invalid-assignment] Object of type `def cb13_no_default(path: str) -> str` is not assignable to `Proto13_Default`

‎conformance/results/ty/classes_override.toml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ classes_override.py:65:9: error[invalid-explicit-override] Method `method4` is d
77
classes_override.py:79:9: error[invalid-explicit-override] Method `static_method1` is decorated with `@override` but does not override anything
88
classes_override.py:84:9: error[invalid-explicit-override] Method `class_method1` is decorated with `@override` but does not override anything
99
classes_override.py:89:9: error[invalid-explicit-override] Method `property1` is decorated with `@override` but does not override anything
10-
classes_override.py:135:9: error[invalid-method-override] Invalid override of method `__init__`: Definition is incompatible with `ParentC.__init__`
11-
classes_override.py:138:9: error[invalid-method-override] Invalid override of method `__new__`: Definition is incompatible with `ParentC.__new__`
10+
classes_override.py:135:9: error[incompatible-method-override] Invalid override of method `__init__`: Definition is incompatible with `ParentC.__init__`
11+
classes_override.py:138:9: error[incompatible-method-override] Invalid override of method `__new__`: Definition is incompatible with `ParentC.__new__`
1212
"""

‎conformance/results/ty/dataclasses_hash.toml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ conformance_automated = "Pass"
22
errors_diff = """
33
"""
44
output = """
5-
dataclasses_hash.py:17:1: error[call-non-callable] Object of type `None` is not callable
5+
dataclasses_hash.py:17:1: error[not-callable] Object of type `None` is not callable
66
dataclasses_hash.py:18:16: error[invalid-assignment] Object of type `DC1` is not assignable to `Hashable`
7-
dataclasses_hash.py:39:1: error[call-non-callable] Object of type `None` is not callable
7+
dataclasses_hash.py:39:1: error[not-callable] Object of type `None` is not callable
88
dataclasses_hash.py:40:16: error[invalid-assignment] Object of type `DC3` is not assignable to `Hashable`
99
"""

0 commit comments

Comments
 (0)