mirror of
https://github.com/astral-sh/ruff
synced 2026-01-22 05:51:03 -05:00
fix: minor spacing typo in message for PTH123 (#2453)
This commit is contained in:
@@ -263,7 +263,7 @@ define_violation!(
|
||||
impl Violation for PathlibOpen {
|
||||
#[derive_message_formats]
|
||||
fn message(&self) -> String {
|
||||
format!("`open(\"foo\")` should be replaced by`Path(\"foo\").open()`")
|
||||
format!("`open(\"foo\")` should be replaced by `Path(\"foo\").open()`")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user