ruff/crates/ruff_python_formatter/src/statement
Charlie Marsh b3f3529499
Improve comments around Arguments handling in classes (#6310)
## Summary

Based on the confusion here:
https://github.com/astral-sh/ruff/pull/6274#discussion_r1282754515.

I looked into moving this logic into `placement.rs`, but I think it's
trickier than it may appear.
2023-08-03 12:34:03 -04:00
..
mod.rs Pull in RustPython parser (#6099) 2023-07-27 09:29:11 +00:00
stmt_ann_assign.rs Pull in RustPython parser (#6099) 2023-07-27 09:29:11 +00:00
stmt_assert.rs Pull in RustPython parser (#6099) 2023-07-27 09:29:11 +00:00
stmt_assign.rs Remove unsupported type_comment field 2023-08-01 12:53:13 +02:00
stmt_async_for.rs Pull in RustPython parser (#6099) 2023-07-27 09:29:11 +00:00
stmt_async_function_def.rs Pull in RustPython parser (#6099) 2023-07-27 09:29:11 +00:00
stmt_async_with.rs Pull in RustPython parser (#6099) 2023-07-27 09:29:11 +00:00
stmt_aug_assign.rs Pull in RustPython parser (#6099) 2023-07-27 09:29:11 +00:00
stmt_break.rs Pull in RustPython parser (#6099) 2023-07-27 09:29:11 +00:00
stmt_class_def.rs Improve comments around Arguments handling in classes (#6310) 2023-08-03 12:34:03 -04:00
stmt_continue.rs Pull in RustPython parser (#6099) 2023-07-27 09:29:11 +00:00
stmt_delete.rs Pull in RustPython parser (#6099) 2023-07-27 09:29:11 +00:00
stmt_expr.rs Pull in RustPython parser (#6099) 2023-07-27 09:29:11 +00:00
stmt_for.rs Pull in RustPython parser (#6099) 2023-07-27 09:29:11 +00:00
stmt_function_def.rs Add formatting of type parameters in class and function definitions (#6161) 2023-08-02 20:29:28 +00:00
stmt_global.rs Break global and nonlocal statements over continuation lines (#6172) 2023-08-02 19:55:00 +00:00
stmt_if.rs Pull in RustPython parser (#6099) 2023-07-27 09:29:11 +00:00
stmt_import.rs Pull in RustPython parser (#6099) 2023-07-27 09:29:11 +00:00
stmt_import_from.rs Preserve end-of-line comments on import-from statements (#6216) 2023-08-01 18:58:05 +00:00
stmt_match.rs Pull in RustPython parser (#6099) 2023-07-27 09:29:11 +00:00
stmt_nonlocal.rs Break global and nonlocal statements over continuation lines (#6172) 2023-08-02 19:55:00 +00:00
stmt_pass.rs Pull in RustPython parser (#6099) 2023-07-27 09:29:11 +00:00
stmt_raise.rs Pull in RustPython parser (#6099) 2023-07-27 09:29:11 +00:00
stmt_return.rs Pull in RustPython parser (#6099) 2023-07-27 09:29:11 +00:00
stmt_try.rs Pull in RustPython parser (#6099) 2023-07-27 09:29:11 +00:00
stmt_try_star.rs Pull in RustPython parser (#6099) 2023-07-27 09:29:11 +00:00
stmt_type_alias.rs Add formatting of type alias statements (#6162) 2023-08-02 20:40:32 +00:00
stmt_while.rs Pull in RustPython parser (#6099) 2023-07-27 09:29:11 +00:00
stmt_with.rs Pull in RustPython parser (#6099) 2023-07-27 09:29:11 +00:00
suite.rs Implement Black's rules around newlines before and after class docstrings (#6209) 2023-08-01 13:33:01 -04:00