|
| 1 | +conformant = "Unsupported" |
| 2 | +conformance_automated = "Fail" |
| 3 | +errors_diff = """ |
| 4 | +Line 59: Expected 1 errors |
| 5 | +Line 15: Unexpected errors ['Expected a type form, got instance of `object` [not-a-type]'] |
| 6 | +Line 16: Unexpected errors ['Expected a type form, got instance of `object` [not-a-type]'] |
| 7 | +Line 17: Unexpected errors ['Expected a type form, got instance of `object` [not-a-type]'] |
| 8 | +Line 18: Unexpected errors ['Expected a type form, got instance of `object` [not-a-type]'] |
| 9 | +Line 19: Unexpected errors ['Expected a type form, got instance of `object` [not-a-type]'] |
| 10 | +Line 20: Unexpected errors ['Expected a type form, got instance of `object` [not-a-type]'] |
| 11 | +Line 21: Unexpected errors ['Expected a type form, got instance of `object` [not-a-type]'] |
| 12 | +Line 29: Unexpected errors ['Expected a type form, got instance of `object` [not-a-type]'] |
| 13 | +Line 30: Unexpected errors ['Expected a type form, got instance of `object` [not-a-type]'] |
| 14 | +Line 31: Unexpected errors ['Expected a type form, got instance of `object` [not-a-type]'] |
| 15 | +Line 32: Unexpected errors ['Expected a type form, got instance of `object` [not-a-type]'] |
| 16 | +Line 40: Unexpected errors ['Expected a type form, got instance of `_SpecialForm` [not-a-type]'] |
| 17 | +Line 41: Unexpected errors ['Expected a type form, got instance of `object` [not-a-type]'] |
| 18 | +Line 46: Unexpected errors ['`type[str | None]` is not assignable to `UnionType` [bad-assignment]'] |
| 19 | +Line 47: Unexpected errors ['Expected a type form, got instance of `object` [not-a-type]'] |
| 20 | +Line 49: 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]'] |
| 21 | +Line 50: Unexpected errors ['Expected a type form, got instance of `_SpecialForm` [not-a-type]'] |
| 22 | +Line 52: Unexpected errors ['Expected a type form, got instance of `object` [not-a-type]'] |
| 23 | +Line 53: Unexpected errors ['Expected a type form, got instance of `object` [not-a-type]'] |
| 24 | +Line 80: Unexpected errors ['Expected a callable, got `_SpecialForm` [not-callable]'] |
| 25 | +Line 81: Unexpected errors ['Expected a type form, got instance of `object` [not-a-type]'] |
| 26 | +Line 83: Unexpected errors ['Expected a callable, got `_SpecialForm` [not-callable]'] |
| 27 | +Line 84: Unexpected errors ['Expected a type form, got instance of `object` [not-a-type]'] |
| 28 | +Line 93: Unexpected errors ['Expected a type form, got instance of `object` [not-a-type]'] |
| 29 | +Line 97: Unexpected errors ['Expected a type form, got instance of `object` [not-a-type]'] |
| 30 | +Line 107: Unexpected errors ['Expected a type form, got instance of `object` [not-a-type]'] |
| 31 | +""" |
| 32 | +output = """ |
| 33 | +ERROR typeforms_typeform.py:15:6-26: Expected a type form, got instance of `object` [not-a-type] |
| 34 | +ERROR typeforms_typeform.py:16:6-26: Expected a type form, got instance of `object` [not-a-type] |
| 35 | +ERROR typeforms_typeform.py:17:6-26: Expected a type form, got instance of `object` [not-a-type] |
| 36 | +ERROR typeforms_typeform.py:18:6-26: Expected a type form, got instance of `object` [not-a-type] |
| 37 | +ERROR typeforms_typeform.py:19:6-26: Expected a type form, got instance of `object` [not-a-type] |
| 38 | +ERROR typeforms_typeform.py:20:6-26: Expected a type form, got instance of `object` [not-a-type] |
| 39 | +ERROR typeforms_typeform.py:21:6-26: Expected a type form, got instance of `object` [not-a-type] |
| 40 | +ERROR typeforms_typeform.py:23:7-27: Expected a type form, got instance of `object` [not-a-type] |
| 41 | +ERROR typeforms_typeform.py:24:7-27: Expected a type form, got instance of `object` [not-a-type] |
| 42 | +ERROR typeforms_typeform.py:29:8-21: Expected a type form, got instance of `object` [not-a-type] |
| 43 | +ERROR typeforms_typeform.py:30:8-21: Expected a type form, got instance of `object` [not-a-type] |
| 44 | +ERROR typeforms_typeform.py:31:20-33: Expected a type form, got instance of `object` [not-a-type] |
| 45 | +ERROR typeforms_typeform.py:32:20-33: Expected a type form, got instance of `object` [not-a-type] |
| 46 | +ERROR typeforms_typeform.py:40:14-22: Expected a type form, got instance of `_SpecialForm` [not-a-type] |
| 47 | +ERROR typeforms_typeform.py:41:20-33: Expected a type form, got instance of `object` [not-a-type] |
| 48 | +ERROR typeforms_typeform.py:46:30-40: `type[str | None]` is not assignable to `UnionType` [bad-assignment] |
| 49 | +ERROR typeforms_typeform.py:47:15-35: Expected a type form, got instance of `object` [not-a-type] |
| 50 | +ERROR typeforms_typeform.py:49:33-42: `type[list[int]]` is not assignable to `GenericAlias` [bad-assignment] |
| 51 | +ERROR typeforms_typeform.py:49:33-42: Expected `v2_actual` to be a type alias, got `GenericAlias` [invalid-type-alias] |
| 52 | +ERROR typeforms_typeform.py:50:15-23: Expected a type form, got instance of `_SpecialForm` [not-a-type] |
| 53 | +ERROR typeforms_typeform.py:52:5-24: Expected a type form, got instance of `object` [not-a-type] |
| 54 | +ERROR typeforms_typeform.py:53:5-23: Expected a type form, got instance of `object` [not-a-type] |
| 55 | +ERROR typeforms_typeform.py:67:7-15: Expected a type form, got instance of `_SpecialForm` [not-a-type] |
| 56 | +ERROR typeforms_typeform.py:68:7-15: Expected a type form, got instance of `_SpecialForm` [not-a-type] |
| 57 | +ERROR typeforms_typeform.py:69:7-15: Expected a type form, got instance of `_SpecialForm` [not-a-type] |
| 58 | +ERROR typeforms_typeform.py:70:7-15: Expected a type form, got instance of `_SpecialForm` [not-a-type] |
| 59 | +ERROR typeforms_typeform.py:70:18-22: `Self` must appear within a class [invalid-annotation] |
| 60 | +ERROR typeforms_typeform.py:71:7-15: Expected a type form, got instance of `_SpecialForm` [not-a-type] |
| 61 | +ERROR typeforms_typeform.py:71:18-31: `ClassVar` is not allowed in this context [invalid-annotation] |
| 62 | +ERROR typeforms_typeform.py:72:7-15: Expected a type form, got instance of `_SpecialForm` [not-a-type] |
| 63 | +ERROR typeforms_typeform.py:72:18-28: `Final` is not allowed in this context [invalid-annotation] |
| 64 | +ERROR typeforms_typeform.py:73:7-15: Expected a type form, got instance of `_SpecialForm` [not-a-type] |
| 65 | +ERROR typeforms_typeform.py:74:7-15: Expected a type form, got instance of `_SpecialForm` [not-a-type] |
| 66 | +ERROR typeforms_typeform.py:75:7-15: Expected a type form, got instance of `_SpecialForm` [not-a-type] |
| 67 | +ERROR typeforms_typeform.py:80:6-14: Expected a callable, got `_SpecialForm` [not-callable] |
| 68 | +ERROR typeforms_typeform.py:81:17-37: Expected a type form, got instance of `object` [not-a-type] |
| 69 | +ERROR typeforms_typeform.py:83:6-14: Expected a callable, got `_SpecialForm` [not-callable] |
| 70 | +ERROR typeforms_typeform.py:84:17-36: Expected a type form, got instance of `object` [not-a-type] |
| 71 | +ERROR typeforms_typeform.py:86:6-14: Expected a callable, got `_SpecialForm` [not-callable] |
| 72 | +ERROR typeforms_typeform.py:88:6-14: Expected a callable, got `_SpecialForm` [not-callable] |
| 73 | +ERROR typeforms_typeform.py:93:24-37: Expected a type form, got instance of `object` [not-a-type] |
| 74 | +ERROR typeforms_typeform.py:97:5-24: Expected a type form, got instance of `object` [not-a-type] |
| 75 | +ERROR typeforms_typeform.py:98:5-18: Expected a type form, got instance of `object` [not-a-type] |
| 76 | +ERROR typeforms_typeform.py:107:5-24: Expected a type form, got instance of `object` [not-a-type] |
| 77 | +ERROR typeforms_typeform.py:108:5-18: Expected a type form, got instance of `object` [not-a-type] |
| 78 | +""" |
0 commit comments