-
Notifications
You must be signed in to change notification settings - Fork 293
Expand file tree
/
Copy pathannotations_generators.toml
More file actions
15 lines (15 loc) · 1.3 KB
/
annotations_generators.toml
File metadata and controls
15 lines (15 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
conformance_automated = "Pass"
errors_diff = """
"""
output = """
annotations_generators.py:51:21: error[invalid-return-type] Function can implicitly return `None`, which is not assignable to return type `C`
annotations_generators.py:54:16: error[invalid-return-type] Return type does not match returned value: expected `C`, found `Literal[False]`
annotations_generators.py:57:15: error[invalid-yield] Yield type `Literal[3]` does not match annotated yield type `A`
annotations_generators.py:66:15: error[invalid-yield] Yield type `Literal[3]` does not match annotated yield type `A`
annotations_generators.py:75:11: error[invalid-yield] Yield type `B` does not match annotated yield type `A`
annotations_generators.py:86:21: error[invalid-return-type] Return type does not match returned value: expected `int`, found `types.GeneratorType`
annotations_generators.py:91:27: error[invalid-return-type] Return type does not match returned value: expected `int`, found `types.AsyncGeneratorType`
annotations_generators.py:118:16: error[invalid-yield] Yield type `A` does not match annotated yield type `B`
annotations_generators.py:119:16: error[invalid-yield] Yield type `int` does not match annotated yield type `B`
annotations_generators.py:135:16: error[invalid-yield] Send type `int` does not match annotated send type `str`
"""