Parse triple quoted string annotations as if parenthesized #15387
Glyphack
force pushed
from
b33cf058
to
efbd25e6
251 days ago
Glyphack
force pushed
from
efbd25e6
to
edc73451
247 days ago
Glyphack
force pushed
from
88460a5c
to
be3115f8
247 days ago
Glyphack
marked this pull request as ready for review 247 days ago
Glyphack
changed the title Parse Quoted annotations as if parenthesized Parse triple quoted annotations as if parenthesized 247 days ago
Glyphack
changed the title Parse triple quoted annotations as if parenthesized Parse triple quoted string annotations as if parenthesized 247 days ago
carljm
commented
on 2025-01-13
Glyphack
force pushed
from
93125a27
to
b3cf440d
246 days 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
245 days ago
Fix test
964cafa3
Glyphack
deleted the stringized-annotations branch 119 days ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub