diff --git a/src/main.rs b/src/main.rs index af9a4cf37a..2561662756 100644 --- a/src/main.rs +++ b/src/main.rs @@ -18,6 +18,7 @@ use ::ruff::cache; use ::ruff::checks::CheckCode; use ::ruff::checks::CheckKind; use ::ruff::fs::iter_python_files; +use ::ruff::linter::add_noqa_to_path; use ::ruff::linter::lint_path; use ::ruff::logging::set_up_logging; use ::ruff::message::Message; @@ -25,7 +26,6 @@ use ::ruff::printer::{Printer, SerializationFormat}; use ::ruff::pyproject; use ::ruff::settings::{FilePattern, Settings}; use ::ruff::tell_user; -use ruff::linter::add_noqa_to_path; const CARGO_PKG_NAME: &str = env!("CARGO_PKG_NAME"); const CARGO_PKG_VERSION: &str = env!("CARGO_PKG_VERSION");