diff --git a/src/main.rs b/src/main.rs index 18ce84e91ae18..3412ca83132f7 100644 --- a/src/main.rs +++ b/src/main.rs @@ -13,21 +13,21 @@ use rayon::prelude::*; use regex::Regex; use walkdir::DirEntry; -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; -use ::ruff::printer::{Printer, SerializationFormat}; -use ::ruff::pyproject::{self, StrCheckCodePair}; -use ::ruff::settings::CurrentSettings; -use ::ruff::settings::{FilePattern, PerFileIgnore, Settings}; -use ::ruff::tell_user; +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::autoformat_path; +use ruff::linter::lint_path; +use ruff::logging::set_up_logging; +use ruff::message::Message; +use ruff::printer::{Printer, SerializationFormat}; +use ruff::pyproject::{self, StrCheckCodePair}; +use ruff::settings::CurrentSettings; use ruff::settings::RawSettings; +use ruff::settings::{FilePattern, PerFileIgnore, Settings}; +use ruff::tell_user; const CARGO_PKG_NAME: &str = env!("CARGO_PKG_NAME"); const CARGO_PKG_VERSION: &str = env!("CARGO_PKG_VERSION");