Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
konstin committed Aug 25, 2023
1 parent 9161392 commit e8ecafa
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::IpyNotebook(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_ipy_notebook();
Expand Down

0 comments on commit e8ecafa

Please sign in to comment.