Skip to content

Commit

Permalink
Update crates/ruff_linter/src/rules/flake8_use_pathlib/rules/invalid_…
Browse files Browse the repository at this point in the history
…pathlib_with_suffix.rs

Co-authored-by: Dylan <53534755+dylwil3@users.noreply.github.com>
  • Loading branch information
TheBits and dylwil3 authored Dec 12, 2024
1 parent 49e6eef commit 28b2685
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ impl Violation for InvalidPathlibWithSuffix {

fn fix_title(&self) -> Option<String> {
let title = if self.single_dot {
"The \".\" suffix is not valid"
"Remove \".\" or extend to valid suffix"
} else {
"Add a leading dot"
};
Expand Down

0 comments on commit 28b2685

Please sign in to comment.