ruff/crates/ruff_python_formatter/src
Dhruv Manilawala efe54081d6
Some checks are pending
CI / Determine changes (push) Waiting to run
CI / cargo fmt (push) Waiting to run
CI / cargo clippy (push) Blocked by required conditions
CI / cargo test (linux) (push) Blocked by required conditions
CI / cargo test (windows) (push) Blocked by required conditions
CI / cargo test (wasm) (push) Blocked by required conditions
CI / cargo build (release) (push) Blocked by required conditions
CI / cargo build (msrv) (push) Blocked by required conditions
CI / cargo fuzz build (push) Blocked by required conditions
CI / fuzz parser (push) Blocked by required conditions
CI / test scripts (push) Blocked by required conditions
CI / ecosystem (push) Blocked by required conditions
CI / cargo shear (push) Blocked by required conditions
CI / python package (push) Waiting to run
CI / pre-commit (push) Waiting to run
CI / mkdocs (push) Waiting to run
CI / formatter instabilities and black similarity (push) Blocked by required conditions
CI / test ruff-lsp (push) Blocked by required conditions
CI / benchmarks (push) Blocked by required conditions
Remove FormatFStringPart (#14448)
## Summary

This is just a small refactor to remove the `FormatFStringPart` as it's
only used in the case when the f-string is not implicitly concatenated
in which case the only part is going to be `FString`. In implicitly
concatenated f-strings, we use `StringLike` instead.
2024-11-25 10:29:22 +05:30
..
comments Update insta snapshots (#14366) 2024-11-15 19:31:15 +01:00
expression Remove FormatFStringPart (#14448) 2024-11-25 10:29:22 +05:30
module Upgrade to Rust 1.78 (#11260) 2024-05-03 12:46:21 +00:00
other Remove FormatFStringPart (#14448) 2024-11-25 10:29:22 +05:30
pattern Join implicit concatenated strings when they fit on a line (#13663) 2024-10-24 11:52:22 +02:00
snapshots Update insta snapshots (#14366) 2024-11-15 19:31:15 +01:00
statement Disallow single-line implicit concatenated strings (#13928) 2024-11-03 11:49:26 +00:00
string Consider quotes inside format-specs when choosing the quotes for an f-string (#14493) 2024-11-22 12:43:53 +00:00
type_param Upgrade to Rust 1.78 (#11260) 2024-05-03 12:46:21 +00:00
builders.rs Fix unnecessary space around power op in overlong f-string expressions (#14489) 2024-11-22 13:01:22 +01:00
cli.rs Build CommentRanges outside the parser (#11792) 2024-06-09 09:55:17 +00:00
context.rs Extract LineIndex independent methods from Locator (#13938) 2024-10-28 07:53:41 +00:00
generated.rs Normalize implicit concatenated f-string quotes per part (#13539) 2024-10-08 09:59:17 +00:00
lib.rs Extract LineIndex independent methods from Locator (#13938) 2024-10-28 07:53:41 +00:00
main.rs Formatter and parser refactoring (#7569) 2023-09-26 15:29:43 +02:00
options.rs Change default for Python version from 3.8 to 3.9 (#13896) 2024-11-20 13:11:51 +01:00
prelude.rs Accept any Into<AnyNodeRef> as Comments arguments (#5205) 2023-06-20 16:49:21 +00:00
preview.rs Fix formatting of single with-item with trailing comment (#14005) 2024-11-01 09:08:06 +01:00
range.rs Extract LineIndex independent methods from Locator (#13938) 2024-10-28 07:53:41 +00:00
shared_traits.rs ruff_python_formatter: copy and inline shared traits (#8656) 2023-11-13 12:16:04 -05:00
verbatim.rs Extract LineIndex independent methods from Locator (#13938) 2024-10-28 07:53:41 +00:00