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