ruff
Preserve triple quotes and prefixes for strings
#15818
Merged

Preserve triple quotes and prefixes for strings #15818

ntBre merged 29 commits into main from brent/preserve-triple
ntBre
ntBre preserve triple quoting
4559f26f
ntBre unset triple quotes for SIM905 fix, add without_triple_quotes method
de72a61d
ntBre pass flags instead of separate quote and triple_quote values
59067bdd
ntBre move prefix logic into p_str_repr
5354c0cb
ntBre handle prefixes for bytestrings
7d938680
ntBre test all prefix and quote combinations
4c85aadb
ntBre ntBre requested a review from carljm carljm 320 days ago
ntBre ntBre requested a review from MichaReiser MichaReiser 320 days ago
ntBre ntBre requested a review from AlexWaygood AlexWaygood 320 days ago
ntBre ntBre requested a review from sharkdp sharkdp 320 days ago
ntBre
ntBre commented on 2025-01-29
ntBre
ntBre commented on 2025-01-29
github-actions
AlexWaygood
AlexWaygood commented on 2025-01-29
AlexWaygood AlexWaygood added bug
AlexWaygood AlexWaygood added fixes
ntBre add *Flags::without_triple_quotes
13e6e7ae
ntBre use format_string_contents
6b0efc8a
ntBre unwrap -> expect
04838935
ntBre use a matrix for prefix-quote tests
7dcc98e7
ntBre use TripleQuoted enum instead of bool
759cb640
AlexWaygood
AlexWaygood commented on 2025-01-30
ntBre remove redundant quote tests
5ae157cf
ntBre add nested quote test for bytestring
55379b74
ntBre mark is_yes const
0550ac1d
AlexWaygood prototype making the `TripleQuoted` enum more central to the API
6183c74d
dhruvmanila
dhruvmanila commented on 2025-01-30
ntBre Merge branch 'alex/prototype' of github.com:AlexWaygood/ruff
82f341ca
ntBre update doc links
718fb829
AlexWaygood
AlexWaygood commented on 2025-01-30
ntBre rename field to triple_quotes
073f1e92
ntBre add StringFlags::write_string_contents
f95a28db
ntBre expand ascii bytes comment
0c55361c
AlexWaygood
AlexWaygood approved these changes on 2025-01-30
ntBre
AlexWaygood
ntBre remove AnyStringFlags::default
dab84a36
ntBre use write_string_contents in format_string_contents
7f628647
AlexWaygood
AlexWaygood approved these changes on 2025-01-30
ntBre tidy imports
7eadc7cf
ntBre move buf_size optimization into write_string_contents
845fe6ad
AlexWaygood
AlexWaygood approved these changes on 2025-01-30
dhruvmanila
dhruvmanila commented on 2025-01-31
ntBre rename with_triple_quotes_set_to
b7999469
MichaReiser
MichaReiser commented on 2025-02-03
ntBre
MichaReiser
MichaReiser approved these changes on 2025-02-03
ntBre inline p_raw_bytes
eef013d2
ntBre switch to display impl for StringFlags
970565f6
ntBre add nested quote test case
0f83712b
AlexWaygood
AlexWaygood commented on 2025-02-03
ntBre move test case to the bottom
41f5f5ed
AlexWaygood
AlexWaygood approved these changes on 2025-02-03
AlexWaygood
AlexWaygood commented on 2025-02-03
ntBre ntBre merged b5e5271a into main 314 days ago
ntBre ntBre deleted the brent/preserve-triple branch 314 days ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone