mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-02 01:42:25 +00:00
Format Identifier (#5255)
This commit is contained in:
parent
6155fd647d
commit
e47aa468d5
4 changed files with 33 additions and 13 deletions
|
@ -85,7 +85,7 @@ impl FormatRule<AnyFunctionDefinition<'_>, PyFormatContext<'_>> for FormatAnyFun
|
|||
[
|
||||
text("def"),
|
||||
space(),
|
||||
dynamic_text(name.as_str(), None),
|
||||
name.format(),
|
||||
item.arguments().format(),
|
||||
]
|
||||
)?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue