fix: minor spacing typo in message for PTH123 (#2453)

This commit is contained in:
Henry Schreiner
2023-02-01 14:39:50 -05:00
committed by GitHub
parent 6861e59103
commit db1b1672b8
2 changed files with 2 additions and 2 deletions

View File

@@ -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()`")
}
}