You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updated conformance test results for pyright 1.1.365. (#1755)
There are no changes to the top-level conformance results, but some of pyright's error messages changed (for improved clarity), and this results in changes to the diffs from previous versions.
Copy file name to clipboardExpand all lines: conformance/results/pyright/aliases_recursive.toml
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -18,11 +18,11 @@ aliases_recursive.py:20:16 - error: Expression of type "list[int | complex]" is
18
18
"complex" is incompatible with "float"
19
19
"complex" is incompatible with "list[Json]"
20
20
"complex" is incompatible with "dict[str, Json]" (reportAssignmentType)
21
-
aliases_recursive.py:38:22 - error: Expression of type "tuple[Literal[1], tuple[Literal['1'], Literal[1]], tuple[Literal[1], tuple[Literal[1], list[int]]]]" is incompatible with declared type "RecursiveTuple"
22
-
Type "tuple[Literal[1], tuple[Literal['1'], Literal[1]], tuple[Literal[1], tuple[Literal[1], list[int]]]]" is incompatible with type "RecursiveTuple"
23
-
"tuple[Literal[1], tuple[Literal['1'], Literal[1]], tuple[Literal[1], tuple[Literal[1], list[int]]]]" is incompatible with "str"
24
-
"tuple[Literal[1], tuple[Literal['1'], Literal[1]], tuple[Literal[1], tuple[Literal[1], list[int]]]]" is incompatible with "int"
25
-
"tuple[Literal[1], tuple[Literal['1'], Literal[1]], tuple[Literal[1], tuple[Literal[1], list[int]]]]" is incompatible with "tuple[RecursiveTuple, ...]"
21
+
aliases_recursive.py:38:22 - error: Expression of type "tuple[Literal[1], tuple[str, int], tuple[int, tuple[int, list[int]]]]" is incompatible with declared type "RecursiveTuple"
22
+
Type "tuple[Literal[1], tuple[str, int], tuple[int, tuple[int, list[int]]]]" is incompatible with type "RecursiveTuple"
23
+
"tuple[Literal[1], tuple[str, int], tuple[int, tuple[int, list[int]]]]" is incompatible with "str"
24
+
"tuple[Literal[1], tuple[str, int], tuple[int, tuple[int, list[int]]]]" is incompatible with "int"
25
+
"tuple[Literal[1], tuple[str, int], tuple[int, tuple[int, list[int]]]]" is incompatible with "tuple[RecursiveTuple, ...]"
26
26
Tuple entry 1 is incorrect type (reportAssignmentType)
27
27
aliases_recursive.py:39:22 - error: Expression of type "tuple[Literal[1], list[int]]" is incompatible with declared type "RecursiveTuple"
28
28
Type "tuple[Literal[1], list[int]]" is incompatible with type "RecursiveTuple"
Copy file name to clipboardExpand all lines: conformance/results/pyright/callables_protocol.toml
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -2,11 +2,11 @@ conformant = "Pass"
2
2
output = """
3
3
callables_protocol.py:35:7 - error: Expression of type "(*vals: bytes, max_items: int | None) -> list[bytes]" is incompatible with declared type "Proto1"
4
4
Type "(*vals: bytes, max_items: int | None) -> list[bytes]" is incompatible with type "(*vals: bytes, max_len: int | None = None) -> list[bytes]"
5
-
Keyword parameter "max_items" is missing in destination
6
-
Keyword parameter "max_len" is missing in source (reportAssignmentType)
callables_protocol.py:37:7 - error: Expression of type "(*vals: bytes, max_len: str | None) -> list[bytes]" is incompatible with declared type "Proto1"
11
11
Type "(*vals: bytes, max_len: str | None) -> list[bytes]" is incompatible with type "(*vals: bytes, max_len: int | None = None) -> list[bytes]"
12
12
Keyword parameter "max_len" of type "int | None" is incompatible with type "str | None"
Copy file name to clipboardExpand all lines: conformance/results/pyright/generics_paramspec_semantics.toml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -12,8 +12,8 @@ generics_paramspec_semantics.py:46:17 - error: Argument of type "(y: int, x: str
12
12
Parameter name mismatch: "y" versus "x" (reportArgumentType)
13
13
generics_paramspec_semantics.py:61:23 - error: Argument of type "(*, y: int) -> int" cannot be assigned to parameter "y" of type "(**P@func1) -> int" in function "func1"
14
14
Type "(*, y: int) -> int" is incompatible with type "(*, x: int) -> int"
15
-
Keyword parameter "y" is missing in destination
16
-
Keyword parameter "x" is missing in source (reportArgumentType)
15
+
Extra parameter "y"
16
+
Missing keyword parameter "x" (reportArgumentType)
17
17
generics_paramspec_semantics.py:97:4 - error: Argument of type "Literal[1]" cannot be assigned to parameter of type "str"
18
18
"Literal[1]" is incompatible with "str" (reportArgumentType)
19
19
generics_paramspec_semantics.py:107:4 - error: Argument of type "Literal[1]" cannot be assigned to parameter "args" of type "bool"
0 commit comments