ruff/crates/ruff_python_formatter/src
Charlie Marsh 728539291f
Move FormatExprDict to top of expr_dict.rs (#7494)
Put the node itself up top, and internal structs down below.
2023-09-18 11:55:18 -04:00
..
comments Fix dangling module comments (#7456) 2023-09-17 14:56:41 +00:00
expression Move FormatExprDict to top of expr_dict.rs (#7494) 2023-09-18 11:55:18 -04:00
module Fix handling of newlines in empty files (#7473) 2023-09-18 06:08:10 +00:00
other Avoiding grouping comprehension targets separately from conditions (#7429) 2023-09-16 17:19:34 +00:00
pattern Use CommentRanges in backwards lexing (#7360) 2023-09-16 03:21:45 +00:00
snapshots Remove exception-handler lexing from unused-bound-exception fix (#5851) 2023-07-18 18:27:46 +00:00
statement Use CommentRanges in backwards lexing (#7360) 2023-09-16 03:21:45 +00:00
type_param Introduce Token element (#7048) 2023-09-02 10:05:47 +02:00
builders.rs Introduce Token element (#7048) 2023-09-02 10:05:47 +02:00
cli.rs Show header for formatter comment decoration info (#7228) 2023-09-08 09:25:06 +00:00
context.rs Implement DerefMut for WithNodeLevel (#6443) 2023-08-11 10:41:48 +00:00
generated.rs Introduce AST nodes for PatternMatchClass arguments (#6881) 2023-08-26 14:45:44 +00:00
lib.rs fix: Use BestFit layout for subscript (#7409) 2023-09-16 16:21:45 +02:00
main.rs Formatter: Add SourceType to context to enable special formatting for stub files (#6331) 2023-08-04 11:52:26 +00:00
options.rs Introduce IndentWidth (#7301) 2023-09-13 14:52:24 +02:00
prelude.rs Accept any Into<AnyNodeRef> as Comments arguments (#5205) 2023-06-20 16:49:21 +00:00
verbatim.rs Memoize text width (#6552) 2023-09-06 07:10:13 +00:00