Skip to content

Commit d9e84c5

Browse files
committed
Fix clippy warnings
1 parent 0368d37 commit d9e84c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ruff/src/checkers/ast/analyze/deferred_scopes.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ pub(crate) fn deferred_scopes(checker: &mut Checker) {
216216
}
217217
}
218218

219-
if checker.is_stub {
219+
if checker.source_type.is_stub() {
220220
if checker.enabled(Rule::UnusedPrivateTypeVar) {
221221
flake8_pyi::rules::unused_private_type_var(checker, scope, &mut diagnostics);
222222
}

0 commit comments

Comments
 (0)