Parse triple quoted string annotations as if parenthesized #15387
Glyphack
force pushed
from
b33cf058
to
efbd25e6
1 year ago
Glyphack
force pushed
from
efbd25e6
to
edc73451
1 year ago
Glyphack
force pushed
from
88460a5c
to
be3115f8
1 year ago
Glyphack
marked this pull request as ready for review 1 year ago
Glyphack
changed the title Parse Quoted annotations as if parenthesized Parse triple quoted annotations as if parenthesized 1 year ago
Glyphack
changed the title Parse triple quoted annotations as if parenthesized Parse triple quoted string annotations as if parenthesized 1 year ago
carljm
commented
on 2025-01-13
Glyphack
force pushed
from
93125a27
to
b3cf440d
1 year ago
Parse Quoted annotations as if parenthesized
ce05eefc
Use parse_parenthesized_expression_range in red-knot
1117ca58
Do not implicitly parenthesize single quote annotations
af5a1ce1
Create parse_as_string_annotation method
334ca52a
Update example
8c5a6d1e
Clippy fix
25c1535e
Fix doctest
4b7cb1d4
Add test cases for invalid annotations
96c79ffe
Document ParenthesizedExpression
63fc9cef
Check for nesting level 1 when mode is ParenthesizedExpression
d513d73a
Reformat code
b6a7155c
Update crates/ruff_python_parser/src/lib.rs
5b69632a
Update crates/ruff_python_parser/src/lexer.rs
b0de2044
Update crates/ruff_python_parser/src/lexer.rs
d023a5bd
Add tests and documentation
e93f59fc
rename to parse_as_string_annotation
982eb2a4
Update rust doc
f9c2401a
Fix clippy
a74d41e7
Glyphack
force pushed
from
cf342b5d
to
a74d41e7
1 year ago
Fix test
964cafa3
Glyphack
deleted the stringized-annotations branch 1 year ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub