mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-16 16:40:19 +00:00
Update MSRV to 1.85 and toolchain to 1.87 (#18126)
This commit is contained in:
parent
6e39250015
commit
196e4befba
19 changed files with 82 additions and 54 deletions
|
@ -413,7 +413,7 @@ impl Format<PyFormatContext<'_>> for FormatStatementsLastExpression<'_> {
|
|||
soft_block_indent(&format_args![flat, inline_comments]),
|
||||
token(")"),
|
||||
])
|
||||
.with_group_id(Some(group_id))
|
||||
.with_id(Some(group_id))
|
||||
.should_expand(true)
|
||||
.fmt(f)
|
||||
});
|
||||
|
@ -433,7 +433,7 @@ impl Format<PyFormatContext<'_>> for FormatStatementsLastExpression<'_> {
|
|||
token(")"),
|
||||
inline_comments,
|
||||
])
|
||||
.with_group_id(Some(group_id))
|
||||
.with_id(Some(group_id))
|
||||
.should_expand(true)
|
||||
.fmt(f)
|
||||
});
|
||||
|
@ -501,7 +501,7 @@ impl Format<PyFormatContext<'_>> for FormatStatementsLastExpression<'_> {
|
|||
soft_block_indent(&format_args![f_string_flat, inline_comments]),
|
||||
token(")"),
|
||||
])
|
||||
.with_group_id(Some(group_id))
|
||||
.with_id(Some(group_id))
|
||||
.should_expand(true)
|
||||
.fmt(f)
|
||||
});
|
||||
|
@ -817,7 +817,7 @@ impl Format<PyFormatContext<'_>> for FormatStatementsLastExpression<'_> {
|
|||
space(),
|
||||
token("("),
|
||||
group(&soft_block_indent(&format_expanded))
|
||||
.with_group_id(Some(group_id))
|
||||
.with_id(Some(group_id))
|
||||
.should_expand(true),
|
||||
token(")"),
|
||||
inline_comments
|
||||
|
@ -875,7 +875,7 @@ impl Format<PyFormatContext<'_>> for FormatStatementsLastExpression<'_> {
|
|||
space(),
|
||||
token("("),
|
||||
group(&soft_block_indent(&format_expanded))
|
||||
.with_group_id(Some(group_id))
|
||||
.with_id(Some(group_id))
|
||||
.should_expand(true),
|
||||
token(")"),
|
||||
inline_comments
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue