Skip to content

Commit

Permalink
Remove duplicate imports from os-stat documentation (#8930)
Browse files Browse the repository at this point in the history
Closes #8799.
  • Loading branch information
charliermarsh authored Nov 30, 2023
1 parent d674e79 commit ee5d95f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions crates/ruff_linter/src/rules/flake8_use_pathlib/violations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -705,8 +705,6 @@ impl Violation for OsReadlink {
/// ## Examples
/// ```python
/// import os
///
/// import os
/// from pwd import getpwuid
/// from grp import getgrgid
///
Expand All @@ -719,8 +717,6 @@ impl Violation for OsReadlink {
/// ```python
/// from pathlib import Path
///
/// from pathlib import Path
///
/// file_path = Path(file_name)
/// stat = file_path.stat()
/// owner_name = file_path.owner()
Expand Down

0 comments on commit ee5d95f

Please sign in to comment.