Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
konstin committed Jun 2, 2023
1 parent 84c82f5 commit e1ccb11
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/ruff/src/autofix/edits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ use ruff_text_size::{TextLen, TextRange, TextSize};
use rustpython_parser::ast::{self, Excepthandler, Expr, Keyword, Ranged, Stmt};
use rustpython_parser::{lexer, Mode, Tok};

use crate::autofix::codemods;
use ruff_diagnostics::Edit;
use ruff_newlines::NewlineWithTrailingNewline;
use ruff_python_ast::helpers;
use ruff_python_ast::source_code::{Indexer, Locator, Stylist};

use crate::autofix::codemods;

/// Return the `Fix` to use when deleting a `Stmt`.
///
/// In some cases, this is as simple as deleting the `Range` of the `Stmt`
Expand Down

0 comments on commit e1ccb11

Please sign in to comment.