mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-28 12:54:48 +00:00
Run cargo fmt
This commit is contained in:
parent
9d34da23bd
commit
5f796b39b4
1 changed files with 1 additions and 2 deletions
|
@ -1,14 +1,13 @@
|
||||||
use rustc_hash::FxHashMap;
|
use rustc_hash::FxHashMap;
|
||||||
use rustpython_ast::{Alias, Expr, Located, Stmt};
|
use rustpython_ast::{Alias, Expr, Located, Stmt};
|
||||||
|
|
||||||
|
use super::settings::BannedApi;
|
||||||
use crate::ast::helpers::match_call_path;
|
use crate::ast::helpers::match_call_path;
|
||||||
use crate::ast::types::Range;
|
use crate::ast::types::Range;
|
||||||
use crate::checkers::ast::Checker;
|
use crate::checkers::ast::Checker;
|
||||||
use crate::checks::{Check, CheckKind};
|
use crate::checks::{Check, CheckKind};
|
||||||
use crate::flake8_tidy_imports::settings::Strictness;
|
use crate::flake8_tidy_imports::settings::Strictness;
|
||||||
|
|
||||||
use super::settings::BannedApi;
|
|
||||||
|
|
||||||
/// TID252
|
/// TID252
|
||||||
pub fn banned_relative_import(
|
pub fn banned_relative_import(
|
||||||
stmt: &Stmt,
|
stmt: &Stmt,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue