Skip to content

Commit

Permalink
Rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
charliermarsh committed Jun 1, 2023
1 parent 8f2b658 commit e1dfde4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/ruff/src/checkers/ast/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1022,7 +1022,7 @@ where
}
}
Stmt::ImportFrom(
imp_from @ ast::StmtImportFrom {
import_from @ ast::StmtImportFrom {
names,
module,
level,
Expand Down Expand Up @@ -1095,7 +1095,7 @@ where

if self.is_stub {
if self.enabled(Rule::UnaliasedCollectionsAbcSetImport) {
flake8_pyi::rules::unaliased_collections_abc_set_import(self, imp_from);
flake8_pyi::rules::unaliased_collections_abc_set_import(self, import_from);
}
}
for alias in names {
Expand Down

0 comments on commit e1dfde4

Please sign in to comment.