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
Copy file name to clipboardExpand all lines: conformance/results/mypy/typeforms_typeform.toml
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,15 @@
1
+
conformant = "Partial"
2
+
notes = """
3
+
Does not support assigning Union and GenericAlias objects to their runtime types.
4
+
"""
1
5
conformance_automated = "Fail"
2
6
errors_diff = """
3
-
Line 34: Unexpected errors ['typeforms_typeform.py:34: error: Expression is of type "TypeForm[str]", not "TypeForm[Any]" [assert-type]']
4
7
Line 40: Unexpected errors ['typeforms_typeform.py:40: error: Incompatible types in assignment (expression has type "UnionType | type[str]", variable has type "UnionType") [assignment]']
5
8
Line 43: Unexpected errors ['typeforms_typeform.py:43: error: Incompatible types in assignment (expression has type "type[list[int]]", variable has type "GenericAlias") [assignment]']
6
9
"""
7
10
output = """
8
11
typeforms_typeform.py:23: error: Incompatible types in assignment (expression has type "TypeForm[str | int]", variable has type "TypeForm[str | None]") [assignment]
9
12
typeforms_typeform.py:24: error: Incompatible types in assignment (expression has type "TypeForm[list[str | None]]", variable has type "TypeForm[str | None]") [assignment]
10
-
typeforms_typeform.py:34: error: Expression is of type "TypeForm[str]", not "TypeForm[Any]" [assert-type]
11
13
typeforms_typeform.py:40: error: Incompatible types in assignment (expression has type "UnionType | type[str]", variable has type "UnionType") [assignment]
12
14
typeforms_typeform.py:43: error: Incompatible types in assignment (expression has type "type[list[int]]", variable has type "GenericAlias") [assignment]
13
15
typeforms_typeform.py:55: error: Incompatible types in assignment (expression has type "tuple[Never, ...]", variable has type "TypeForm[Any]") [assignment]
Copy file name to clipboardExpand all lines: conformance/results/pyrefly/typeforms_typeform.toml
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,4 @@
1
+
conformance = "Unsupported"
1
2
conformance_automated = "Fail"
2
3
errors_diff = """
3
4
Line 15: Unexpected errors ['Expected a type form, got instance of `object` [not-a-type]']
@@ -9,8 +10,8 @@ Line 20: Unexpected errors ['Expected a type form, got instance of `object` [not
9
10
Line 21: Unexpected errors ['Expected a type form, got instance of `object` [not-a-type]']
10
11
Line 29: Unexpected errors ['Expected a type form, got instance of `object` [not-a-type]']
11
12
Line 30: Unexpected errors ['Expected a type form, got instance of `object` [not-a-type]']
12
-
Line 34: Unexpected errors ['Expected a type form, got instance of `object` [not-a-type]']
13
-
Line 35: Unexpected errors ['Expected a type form, got instance of `object` [not-a-type]']
13
+
Line 31: Unexpected errors ['Expected a type form, got instance of `object` [not-a-type]']
14
+
Line 32: Unexpected errors ['Expected a type form, got instance of `object` [not-a-type]']
14
15
Line 40: Unexpected errors ['`type[str | None]` is not assignable to `UnionType` [bad-assignment]']
15
16
Line 41: Unexpected errors ['Expected a type form, got instance of `object` [not-a-type]']
16
17
Line 43: Unexpected errors ['`type[list[int]]` is not assignable to `GenericAlias` [bad-assignment]', 'Expected `v2_actual` to be a type alias, got `GenericAlias` [invalid-type-alias]']
@@ -37,8 +38,8 @@ ERROR typeforms_typeform.py:23:7-27: Expected a type form, got instance of `obje
37
38
ERROR typeforms_typeform.py:24:7-27: Expected a type form, got instance of `object` [not-a-type]
38
39
ERROR typeforms_typeform.py:29:8-21: Expected a type form, got instance of `object` [not-a-type]
39
40
ERROR typeforms_typeform.py:30:8-21: Expected a type form, got instance of `object` [not-a-type]
40
-
ERROR typeforms_typeform.py:34:20-33: Expected a type form, got instance of `object` [not-a-type]
41
-
ERROR typeforms_typeform.py:35:20-33: Expected a type form, got instance of `object` [not-a-type]
41
+
ERROR typeforms_typeform.py:31:20-33: Expected a type form, got instance of `object` [not-a-type]
42
+
ERROR typeforms_typeform.py:32:20-33: Expected a type form, got instance of `object` [not-a-type]
42
43
ERROR typeforms_typeform.py:40:30-40: `type[str | None]` is not assignable to `UnionType` [bad-assignment]
43
44
ERROR typeforms_typeform.py:41:15-35: Expected a type form, got instance of `object` [not-a-type]
44
45
ERROR typeforms_typeform.py:43:33-42: `type[list[int]]` is not assignable to `GenericAlias` [bad-assignment]
Copy file name to clipboardExpand all lines: conformance/results/pyright/typeforms_typeform.toml
+3-4Lines changed: 3 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,4 @@
1
+
conformance = "Unsupported"
1
2
conformance_automated = "Fail"
2
3
errors_diff = """
3
4
Line 58: Expected 1 errors
@@ -11,8 +12,7 @@ Line 19: Unexpected errors ['typeforms_typeform.py:19:29 - error: Type "UnionTyp
11
12
Line 20: Unexpected errors ['typeforms_typeform.py:20:29 - error: Type "Literal[\\'str | None\\']" is not assignable to declared type "TypeForm[str | None]"']
12
13
Line 21: Unexpected errors ['typeforms_typeform.py:21:29 - error: Type "type[Any]" is not assignable to declared type "TypeForm[str | None]"']
13
14
Line 29: Unexpected errors ['typeforms_typeform.py:29:24 - error: Type "UnionType" is not assignable to declared type "TypeForm[Any]"']
14
-
Line 34: Unexpected errors ['typeforms_typeform.py:34:13 - error: "assert_type" mismatch: expected "TypeForm[Any]" but received "type[str]" (reportAssertTypeFailure)']
15
-
Line 35: Unexpected errors ['typeforms_typeform.py:35:13 - error: "assert_type" mismatch: expected "TypeForm[str]" but received "type[str]" (reportAssertTypeFailure)']
15
+
Line 32: Unexpected errors ['typeforms_typeform.py:32:13 - error: "assert_type" mismatch: expected "TypeForm[str]" but received "type[str]" (reportAssertTypeFailure)']
16
16
Line 41: Unexpected errors ['typeforms_typeform.py:41:38 - error: Type "UnionType" is not assignable to declared type "TypeForm[str | None]"']
17
17
Line 43: Unexpected errors ['typeforms_typeform.py:43:33 - error: Type "type[list[int]]" is not assignable to declared type "GenericAlias"']
18
18
Line 46: Unexpected errors ['typeforms_typeform.py:46:27 - error: Type "Annotated" is not assignable to declared type "TypeForm[int | str]"']
@@ -41,8 +41,7 @@ typeforms_typeform.py:24:30 - error: Type "type[list[str | None]]" is not assign
41
41
"list[str | None]" is not assignable to "None" (reportAssignmentType)
42
42
typeforms_typeform.py:29:24 - error: Type "UnionType" is not assignable to declared type "TypeForm[Any]"
43
43
"UnionType" is not assignable to "TypeForm[Any]" (reportAssignmentType)
44
-
typeforms_typeform.py:34:13 - error: "assert_type" mismatch: expected "TypeForm[Any]" but received "type[str]" (reportAssertTypeFailure)
45
-
typeforms_typeform.py:35:13 - error: "assert_type" mismatch: expected "TypeForm[str]" but received "type[str]" (reportAssertTypeFailure)
44
+
typeforms_typeform.py:32:13 - error: "assert_type" mismatch: expected "TypeForm[str]" but received "type[str]" (reportAssertTypeFailure)
46
45
typeforms_typeform.py:41:38 - error: Type "UnionType" is not assignable to declared type "TypeForm[str | None]"
47
46
"UnionType" is not assignable to "TypeForm[str | None]" (reportAssignmentType)
48
47
typeforms_typeform.py:43:33 - error: Type "type[list[int]]" is not assignable to declared type "GenericAlias"
<thclass="column col2 partially-conformant"><divclass="hover-text">Partial<spanclass="tooltip-text" id="bottom"><p>Does not support assigning Union and GenericAlias objects to their runtime types.</p></span></div></th>
Copy file name to clipboardExpand all lines: conformance/results/zuban/typeforms_typeform.toml
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,4 @@
1
+
conformance = "Unsupported"
1
2
conformance_automated = "Fail"
2
3
errors_diff = """
3
4
Line 15: Unexpected errors ['typeforms_typeform.py:15: error: Invalid type comment or annotation [valid-type]']
@@ -9,8 +10,8 @@ Line 20: Unexpected errors ['typeforms_typeform.py:20: error: Invalid type comme
9
10
Line 21: Unexpected errors ['typeforms_typeform.py:21: error: Invalid type comment or annotation [valid-type]']
10
11
Line 29: Unexpected errors ['typeforms_typeform.py:29: error: Invalid type comment or annotation [valid-type]']
11
12
Line 30: Unexpected errors ['typeforms_typeform.py:30: error: Invalid type comment or annotation [valid-type]']
12
-
Line 34: Unexpected errors ['typeforms_typeform.py:34: error: Cast target is not a type [misc]']
13
-
Line 35: Unexpected errors ['typeforms_typeform.py:35: error: Cast target is not a type [misc]']
13
+
Line 31: Unexpected errors ['typeforms_typeform.py:31: error: Cast target is not a type [misc]']
14
+
Line 32: Unexpected errors ['typeforms_typeform.py:32: error: Cast target is not a type [misc]']
14
15
Line 41: Unexpected errors ['typeforms_typeform.py:41: error: Invalid type comment or annotation [valid-type]']
15
16
Line 43: Unexpected errors ['typeforms_typeform.py:43: error: Incompatible types in assignment (expression has type "type[list[int]]", variable has type "GenericAlias") [assignment]']
16
17
Line 44: Unexpected errors ['typeforms_typeform.py:44: error: Invalid type comment or annotation [valid-type]']
@@ -36,8 +37,8 @@ typeforms_typeform.py:23: error: Invalid type comment or annotation [valid-type
36
37
typeforms_typeform.py:24: error: Invalid type comment or annotation [valid-type]
37
38
typeforms_typeform.py:29: error: Invalid type comment or annotation [valid-type]
38
39
typeforms_typeform.py:30: error: Invalid type comment or annotation [valid-type]
39
-
typeforms_typeform.py:34: error: Cast target is not a type [misc]
40
-
typeforms_typeform.py:35: error: Cast target is not a type [misc]
40
+
typeforms_typeform.py:31: error: Cast target is not a type [misc]
41
+
typeforms_typeform.py:32: error: Cast target is not a type [misc]
41
42
typeforms_typeform.py:41: error: Invalid type comment or annotation [valid-type]
42
43
typeforms_typeform.py:43: error: Incompatible types in assignment (expression has type "type[list[int]]", variable has type "GenericAlias") [assignment]
43
44
typeforms_typeform.py:44: error: Invalid type comment or annotation [valid-type]
0 commit comments