mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-01 22:31:47 +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
|
@ -878,9 +878,9 @@ mod tests {
|
|||
[group(&format_args![
|
||||
token("("),
|
||||
soft_block_indent(&format_args![
|
||||
source_text_slice(TextRange::at(TextSize::new(0), TextSize::new(19)),),
|
||||
source_text_slice(TextRange::at(TextSize::new(0), TextSize::new(19))),
|
||||
space(),
|
||||
source_text_slice(TextRange::at(TextSize::new(20), TextSize::new(28)),),
|
||||
source_text_slice(TextRange::at(TextSize::new(20), TextSize::new(28))),
|
||||
])
|
||||
])]
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue