Add Applicability to flake8_tidy_imports (#5131)

## Summary
Fixes some of https://github.com/astral-sh/ruff/issues/4184
This commit is contained in:
Evan Rittenhouse 2023-06-15 17:09:00 -05:00 committed by GitHub
parent 1f856aa576
commit 26d19655db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -100,8 +100,7 @@ fn fix_banned_relative_import(
range: TextRange::default(),
};
let content = generator.stmt(&node.into());
#[allow(deprecated)]
Some(Fix::unspecified(Edit::range_replacement(
Some(Fix::suggested(Edit::range_replacement(
content,
stmt.range(),
)))