ruff
Parse triple quoted string annotations as if parenthesized
#15387
Merged

Parse triple quoted string annotations as if parenthesized #15387

Glyphack
Glyphack Glyphack force pushed from b33cf058 to efbd25e6 251 days ago
github-actions
Glyphack Glyphack force pushed from efbd25e6 to edc73451 247 days ago
Glyphack Glyphack force pushed from 88460a5c to be3115f8 247 days ago
Glyphack
Glyphack commented on 2025-01-13
Glyphack Glyphack marked this pull request as ready for review 247 days ago
Glyphack Glyphack requested a review from carljm carljm 247 days ago
Glyphack Glyphack requested a review from MichaReiser MichaReiser 247 days ago
Glyphack Glyphack requested a review from AlexWaygood AlexWaygood 247 days ago
Glyphack Glyphack requested a review from sharkdp sharkdp 247 days ago
Glyphack Glyphack requested a review from dhruvmanila dhruvmanila 247 days ago
Glyphack Glyphack changed the title Parse Quoted annotations as if parenthesized Parse triple quoted annotations as if parenthesized 247 days ago
Glyphack Glyphack changed the title Parse triple quoted annotations as if parenthesized Parse triple quoted string annotations as if parenthesized 247 days ago
carljm
carljm commented on 2025-01-13
MichaReiser
MichaReiser commented on 2025-01-14
MichaReiser MichaReiser added parser
Glyphack Glyphack force pushed from 93125a27 to b3cf440d 246 days ago
Glyphack
dhruvmanila
dhruvmanila commented on 2025-01-15
dhruvmanila
dhruvmanila commented on 2025-01-15
MichaReiser
MichaReiser approved these changes on 2025-01-15
Glyphack Glyphack requested a review from dhruvmanila dhruvmanila 245 days ago
Glyphack Parse Quoted annotations as if parenthesized
ce05eefc
Glyphack Use parse_parenthesized_expression_range in red-knot
1117ca58
Glyphack Do not implicitly parenthesize single quote annotations
af5a1ce1
Glyphack Create parse_as_string_annotation method
334ca52a
Glyphack Update example
8c5a6d1e
Glyphack Clippy fix
25c1535e
Glyphack Fix doctest
4b7cb1d4
Glyphack Add test cases for invalid annotations
96c79ffe
Glyphack Document ParenthesizedExpression
63fc9cef
Glyphack Check for nesting level 1 when mode is ParenthesizedExpression
d513d73a
Glyphack Reformat code
b6a7155c
Glyphack Update crates/ruff_python_parser/src/lib.rs
5b69632a
Glyphack Update crates/ruff_python_parser/src/lexer.rs
b0de2044
Glyphack Update crates/ruff_python_parser/src/lexer.rs
d023a5bd
Glyphack Add tests and documentation
e93f59fc
Glyphack rename to parse_as_string_annotation
982eb2a4
Glyphack Update rust doc
f9c2401a
Glyphack Fix clippy
a74d41e7
Glyphack Glyphack force pushed from cf342b5d to a74d41e7 245 days ago
Glyphack Fix test
964cafa3
dhruvmanila
dhruvmanila commented on 2025-01-16
dhruvmanila
dhruvmanila approved these changes on 2025-01-16
dhruvmanila dhruvmanila merged cf4ab7cb into main 244 days ago
Glyphack Glyphack deleted the stringized-annotations branch 119 days ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone