|
1 | 1 | python/pyi_test/typing_test.py |
2 | | - python/pyi_test/typing_test.py:28:13 - information: Type of "step.ok" is "bool" |
3 | | - python/pyi_test/typing_test.py:29:13 - information: Type of "step.detail" is "str" |
4 | | - python/pyi_test/typing_test.py:30:13 - information: Type of "step.payload" is "bytes" |
5 | | - python/pyi_test/typing_test.py:31:13 - information: Type of "step.imported.value" is "str" |
6 | | - python/pyi_test/typing_test.py:32:13 - information: Type of "step.state" is "State" |
7 | | - python/pyi_test/typing_test.py:34:13 - information: Type of "nested.started" is "str" |
8 | | - python/pyi_test/typing_test.py:40:13 - information: Type of "self_fields.something" is "int" |
9 | | - python/pyi_test/typing_test.py:41:13 - information: Type of "self_fields.self" is "str" |
10 | | - python/pyi_test/typing_test.py:42:13 - information: Type of "self_fields.self_" is "str" |
11 | | - python/pyi_test/typing_test.py:44:26 - error: Argument of type "Literal['not bytes']" cannot be assigned to parameter "payload" of type "bytes | None" in function "__init__" |
| 2 | + python/pyi_test/typing_test.py:33:13 - information: Type of "step.ok" is "bool" |
| 3 | + python/pyi_test/typing_test.py:34:13 - information: Type of "step.detail" is "str" |
| 4 | + python/pyi_test/typing_test.py:35:13 - information: Type of "step.payload" is "bytes" |
| 5 | + python/pyi_test/typing_test.py:36:13 - information: Type of "step.imported.value" is "str" |
| 6 | + python/pyi_test/typing_test.py:37:13 - information: Type of "step.state" is "State" |
| 7 | + python/pyi_test/typing_test.py:38:13 - information: Type of "step.WhichOneof("_detail")" is "Literal['detail'] | None" |
| 8 | + python/pyi_test/typing_test.py:39:13 - information: Type of "step.WhichOneof("result")" is "Literal['ok', 'error'] | None" |
| 9 | + python/pyi_test/typing_test.py:40:13 - information: Type of "step.WhichOneof(b"result")" is "Literal['ok', 'error'] | None" |
| 10 | + python/pyi_test/typing_test.py:42:13 - information: Type of "nested.started" is "str" |
| 11 | + python/pyi_test/typing_test.py:43:13 - information: Type of "nested.WhichOneof("event")" is "Literal['started', 'finished'] | None" |
| 12 | + python/pyi_test/typing_test.py:45:13 - information: Type of "keyword.WhichOneof("choice")" is "Literal['from', 'class'] | None" |
| 13 | + python/pyi_test/typing_test.py:47:13 - information: Type of "shadowed.WhichOneof" is "str" |
| 14 | + python/pyi_test/typing_test.py:50:13 - information: Type of "action" is "Literal['a', 'b'] | None" |
| 15 | + python/pyi_test/typing_test.py:52:17 - information: Type of "step.a" is "str" |
| 16 | + python/pyi_test/typing_test.py:54:17 - information: Type of "step.b" is "int" |
| 17 | + python/pyi_test/typing_test.py:65:13 - information: Type of "self_fields.something" is "int" |
| 18 | + python/pyi_test/typing_test.py:66:13 - information: Type of "self_fields.self" is "str" |
| 19 | + python/pyi_test/typing_test.py:67:13 - information: Type of "self_fields.self_" is "str" |
| 20 | + python/pyi_test/typing_test.py:69:26 - error: Argument of type "Literal['not bytes']" cannot be assigned to parameter "payload" of type "bytes | None" in function "__init__" |
12 | 21 | Type "Literal['not bytes']" is not assignable to type "bytes | None" |
13 | 22 | "Literal['not bytes']" is not assignable to "bytes" |
14 | 23 | "Literal['not bytes']" is not assignable to "None" (reportArgumentType) |
15 | | - python/pyi_test/typing_test.py:45:16 - error: Cannot assign to attribute "payload" for class "Step" |
| 24 | + python/pyi_test/typing_test.py:70:16 - error: Cannot assign to attribute "payload" for class "Step" |
16 | 25 | "Literal['not bytes']" is not assignable to "bytes" (reportAttributeAccessIssue) |
17 | | - python/pyi_test/typing_test.py:46:18 - error: No parameter named "not_a_field" (reportCallIssue) |
18 | | -3 errors, 0 warnings, 9 informations |
| 26 | + python/pyi_test/typing_test.py:71:18 - error: No parameter named "not_a_field" (reportCallIssue) |
| 27 | + python/pyi_test/typing_test.py:72:1 - error: No overloads for "WhichOneof" match the provided arguments (reportCallIssue) |
| 28 | + python/pyi_test/typing_test.py:72:17 - error: Argument of type "Literal['not_a_oneof']" cannot be assigned to parameter "oneof_group" of type "Literal['_detail', b"_detail"]" in function "WhichOneof" |
| 29 | + Type "Literal['not_a_oneof']" is not assignable to type "Literal['_detail', b"_detail"]" |
| 30 | + "Literal['not_a_oneof']" is not assignable to type "Literal['_detail']" |
| 31 | + "Literal['not_a_oneof']" is not assignable to "Literal[b"_detail"]" (reportArgumentType) |
| 32 | + python/pyi_test/typing_test.py:73:1 - error: No overloads for "WhichOneof" match the provided arguments |
| 33 | + Argument types: (Literal['action']) (reportCallIssue) |
| 34 | + python/pyi_test/typing_test.py:74:24 - error: Argument of type "Literal['not_a_oneof']" cannot be assigned to parameter "oneof_group" of type "NoReturn" in function "WhichOneof" |
| 35 | + Type "Literal['not_a_oneof']" is not assignable to type "NoReturn" (reportArgumentType) |
| 36 | + python/pyi_test/typing_test.py:81:18 - error: Argument of type "Literal['b']" cannot be assigned to parameter "arg" of type "Never" in function "assert_never" |
| 37 | + Type "Literal['b']" is not assignable to type "Never" (reportArgumentType) |
| 38 | +8 errors, 0 warnings, 18 informations |
0 commit comments