From ab91763220fcb7b85be6278b912a5d53530835a4 Mon Sep 17 00:00:00 2001 From: Dhruv Manilawala Date: Wed, 26 Jul 2023 18:07:01 +0530 Subject: [PATCH] Fix imports --- crates/ruff/src/jupyter/notebook.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/ruff/src/jupyter/notebook.rs b/crates/ruff/src/jupyter/notebook.rs index b96915cdf2342..9e6a626f0aab4 100644 --- a/crates/ruff/src/jupyter/notebook.rs +++ b/crates/ruff/src/jupyter/notebook.rs @@ -6,6 +6,7 @@ use std::path::Path; use itertools::Itertools; use once_cell::sync::OnceCell; +use rustpython_parser::lexer::lex; use rustpython_parser::Mode; use serde::Serialize; use serde_json::error::Category; @@ -13,8 +14,6 @@ use serde_json::error::Category; use ruff_diagnostics::Diagnostic; use ruff_source_file::{NewlineWithTrailingNewline, UniversalNewlineIterator}; use ruff_text_size::{TextRange, TextSize}; -use rustpython_parser::lexer::lex; -use rustpython_parser::Mode; use crate::autofix::source_map::{SourceMap, SourceMarker}; use crate::jupyter::index::JupyterIndex;