Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 5 additions & 17 deletions conformance/results/results.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 2 additions & 14 deletions conformance/results/zuban/annotations_forward_refs.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
conformant = "Partial"
notes = """
Fails to resolve forward references in classes from builtins
Incorrectly resolves type parameter syntax names in forward references
"""
conformance_automated = "Fail"
conformance_automated = "Pass"
errors_diff = """
Line 82: Unexpected errors ['annotations_forward_refs.py:82: error: Name "bytes" is not defined [name-defined]']
Line 110: Unexpected errors ['annotations_forward_refs.py:110: error: Expression is of type "Any", not "bytes" [misc]']
Line 130: Unexpected errors ['annotations_forward_refs.py:130: error: Expression is of type "T", not "int" [misc]', 'annotations_forward_refs.py:130: error: Argument 1 to "identity2" of "ClassE" has incompatible type "int"; expected "T" [arg-type]']
"""
output = """
annotations_forward_refs.py:24: error: Forward reference unions cause runtime errors, consider wrapping the whole annotation with a string [misc]
Expand All @@ -31,16 +23,12 @@ annotations_forward_refs.py:53: error: Invalid type comment or annotation [vali
annotations_forward_refs.py:54: error: Invalid type comment or annotation [valid-type]
annotations_forward_refs.py:55: error: Module "types" is not valid as a type [valid-type]
annotations_forward_refs.py:55: note: Perhaps you meant to use a protocol matching the module structure?
annotations_forward_refs.py:82: error: Name "bytes" is not defined [name-defined]
annotations_forward_refs.py:92: error: Name "ClassF" is not defined [name-defined]
annotations_forward_refs.py:94: error: Name "str" is not defined [name-defined]
annotations_forward_refs.py:94: error: Cannot resolve name "str" (possible cyclic definition) [misc]
annotations_forward_refs.py:96: error: Function "tests.annotations_forward_refs.ClassD.int" is not valid as a type [valid-type]
annotations_forward_refs.py:96: note: Perhaps you need "Callable[...]" or a callback protocol?
annotations_forward_refs.py:101: error: Function "tests.annotations_forward_refs.ClassD.int" is not valid as a type [valid-type]
annotations_forward_refs.py:101: note: Perhaps you need "Callable[...]" or a callback protocol?
annotations_forward_refs.py:103: error: Function "tests.annotations_forward_refs.ClassD.int" is not valid as a type [valid-type]
annotations_forward_refs.py:103: note: Perhaps you need "Callable[...]" or a callback protocol?
annotations_forward_refs.py:110: error: Expression is of type "Any", not "bytes" [misc]
annotations_forward_refs.py:130: error: Expression is of type "T", not "int" [misc]
annotations_forward_refs.py:130: error: Argument 1 to "identity2" of "ClassE" has incompatible type "int"; expected "T" [arg-type]
"""
14 changes: 4 additions & 10 deletions conformance/results/zuban/annotations_future_import.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
conformant = "Partial"
notes = """
Fails to resolve forward references in classes from builtins
Resolves some class annotations to outer names instead of shadowing class bindings
"""
conformance_automated = "Fail"
conformance_automated = "Pass"
errors_diff = """
Line 37: Expected 1 errors
Line 39: Expected 1 errors
Line 28: Unexpected errors ['annotations_future_import.py:28: error: Invalid type comment or annotation [valid-type]']
"""
output = """
annotations_future_import.py:28: error: Invalid type comment or annotation [valid-type]
annotations_future_import.py:37: error: Cannot resolve name "str" (possible cyclic definition) [misc]
annotations_future_import.py:39: error: Function "tests.annotations_future_import.ClassB.int" is not valid as a type [valid-type]
annotations_future_import.py:39: note: Perhaps you need "Callable[...]" or a callback protocol?
annotations_future_import.py:44: error: Function "tests.annotations_future_import.ClassB.int" is not valid as a type [valid-type]
annotations_future_import.py:44: note: Perhaps you need "Callable[...]" or a callback protocol?
annotations_future_import.py:46: error: Function "tests.annotations_future_import.ClassB.int" is not valid as a type [valid-type]
Expand Down
2 changes: 1 addition & 1 deletion conformance/results/zuban/version.toml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = "zuban 0.9.2"
version = "zuban 0.10.0"
26 changes: 13 additions & 13 deletions conformance/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading