Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
konstin committed Aug 24, 2023
1 parent 222ecc9 commit 41b1e67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/ruff/src/jupyter/notebook.rs
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ impl Notebook {
};
if id.is_none() {
// https://github.com/jupyter/enhancement-proposals/blob/master/62-cell-id/cell-id.md#questions
*id = Some(Uuid::new_v4().to_string())
*id = Some(Uuid::new_v4().to_string());
}
}
}
Expand Down Expand Up @@ -689,7 +689,7 @@ print("after empty cells")
let source_kind = SourceKind::Jupyter(source_notebook);
let (_, transformed) = test_contents(
&source_kind,
path.as_ref(),
path,
&settings::Settings::for_rule(Rule::UnusedImport),
);
let linted_notebook = transformed.into_owned().expect_jupyter();
Expand Down

0 comments on commit 41b1e67

Please sign in to comment.