ruff/crates/ruff_python_formatter/src/other
Dhruv Manilawala 6ecb4776de
Rename AnyStringKind -> AnyStringFlags (#11405)
## Summary

This PR renames `AnyStringKind` to `AnyStringFlags` and `AnyStringFlags`
to `AnyStringFlagsInner`.

The main motivation is to have consistent usage of "kind" and "flags".
For each string kind, it's "flags" like `StringLiteralFlags`,
`BytesLiteralFlags`, and `FStringFlags` but it was `AnyStringKind` for
the "any" variant.
2024-05-13 13:18:07 +00:00
..
alias.rs Avoid printing continuations within import identifiers (#7744) 2023-10-02 09:51:07 -04:00
arguments.rs Upgrade to Rust 1.78 (#11260) 2024-05-03 12:46:21 +00:00
bytes_literal.rs Simplify formatting of strings by using flags from the AST nodes (#10489) 2024-03-20 16:16:54 +00:00
commas.rs Replace LALRPOP parser with hand-written parser (#10036) 2024-04-18 17:57:39 +05:30
comprehension.rs Upgrade to Rust 1.78 (#11260) 2024-05-03 12:46:21 +00:00
decorator.rs Implement RUF028 to detect useless formatter suppression comments (#9899) 2024-02-28 19:21:06 +00:00
elif_else_clause.rs Use the formatter prelude in more files (#6882) 2023-08-25 16:51:07 -04:00
except_handler_except_handler.rs Upgrade to Rust 1.78 (#11260) 2024-05-03 12:46:21 +00:00
f_string.rs Rename AnyStringKind -> AnyStringFlags (#11405) 2024-05-13 13:18:07 +00:00
f_string_element.rs Rename AnyStringKind -> AnyStringFlags (#11405) 2024-05-13 13:18:07 +00:00
f_string_part.rs Split string formatting to individual nodes (#9058) 2023-12-14 12:55:10 -06:00
identifier.rs Range formatting: Fix invalid syntax after parenthesizing expression (#9751) 2024-02-02 17:56:25 +01:00
keyword.rs Introduce Token element (#7048) 2023-09-02 10:05:47 +02:00
match_case.rs Upgrade to Rust 1.78 (#11260) 2024-05-03 12:46:21 +00:00
mod.rs Preview minimal f-string formatting (#9642) 2024-02-16 20:28:11 +05:30
parameter.rs Introduce Token element (#7048) 2023-09-02 10:05:47 +02:00
parameter_with_default.rs Formatter: Remove unnecessary group (#8455) 2023-11-03 04:14:29 +00:00
parameters.rs Upgrade to Rust 1.78 (#11260) 2024-05-03 12:46:21 +00:00
string_literal.rs Simplify formatting of strings by using flags from the AST nodes (#10489) 2024-03-20 16:16:54 +00:00
with_item.rs Upgrade to Rust 1.78 (#11260) 2024-05-03 12:46:21 +00:00