ruff/crates/ruff_python_formatter/src
Charlie Marsh 5f225b18ab
Generalize bracketed end-of-line comment handling (#6315)
Micha suggested this in
https://github.com/astral-sh/ruff/pull/6274#discussion_r1282774151, and
it allows us to unify the implementations for arguments and type params.
2023-08-03 20:51:03 +00:00
..
comments Generalize bracketed end-of-line comment handling (#6315) 2023-08-03 20:51:03 +00:00
expression Move ExprCall's NeedsParentheses impl into expr_call.rs (#6309) 2023-08-03 16:01:01 +00:00
module Add empty lines before nested functions and classes (#6206) 2023-08-01 15:30:59 +00:00
other Move ExprCall's NeedsParentheses impl into expr_call.rs (#6309) 2023-08-03 16:01:01 +00:00
pattern Pull in RustPython parser (#6099) 2023-07-27 09:29:11 +00:00
snapshots Remove exception-handler lexing from unused-bound-exception fix (#5851) 2023-07-18 18:27:46 +00:00
statement Improve comments around Arguments handling in classes (#6310) 2023-08-03 12:34:03 -04:00
type_param Add formatting of type parameters in class and function definitions (#6161) 2023-08-02 20:29:28 +00:00
builders.rs Add formatter support for call and class definition Arguments (#6274) 2023-08-02 11:54:22 -04:00
cli.rs Pull in RustPython parser (#6099) 2023-07-27 09:29:11 +00:00
context.rs formatter: WithNodeLevel helper (#6212) 2023-07-31 21:22:17 +00:00
generated.rs Add formatting of type parameters in class and function definitions (#6161) 2023-08-02 20:29:28 +00:00
lib.rs Add formatting of type alias statements (#6162) 2023-08-02 20:40:32 +00:00
main.rs Add a formatter CLI for debugging (#4809) 2023-06-05 07:33:33 +00:00
options.rs Prefer the configured quote style 2023-06-26 14:24:25 +02:00
prelude.rs Accept any Into<AnyNodeRef> as Comments arguments (#5205) 2023-06-20 16:49:21 +00:00