Skip to content

Commit

Permalink
Add Applicability to flake8_tidy_imports (#5131)
Browse files Browse the repository at this point in the history
## Summary
Fixes some of #4184
  • Loading branch information
evanrittenhouse authored Jun 15, 2023
1 parent 1f856aa commit 26d1965
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
)))
Expand Down

0 comments on commit 26d1965

Please sign in to comment.