mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-03 07:04:53 +00:00
Use backticks for code in red-knot messages (#13599)
## Summary ...and remove periods from messages that don't span more than a single sentence. This is more consistent with how we present user-facing messages in uv (which has a defined style guide).
This commit is contained in:
parent
ef45185dbc
commit
c3b40da0d2
22 changed files with 156 additions and 156 deletions
|
@ -1718,7 +1718,7 @@ mod tests {
|
|||
token("b"),
|
||||
soft_block_indent(&format_args!(
|
||||
token("c"),
|
||||
soft_block_indent(&format_args!(token("d"), soft_line_break(), token("d"),)),
|
||||
soft_block_indent(&format_args!(token("d"), soft_line_break(), token("d"))),
|
||||
token("c"),
|
||||
)),
|
||||
token("b"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue