diff --git a/crates/ruff/src/rules/pyflakes/rules/unused_variable.rs b/crates/ruff/src/rules/pyflakes/rules/unused_variable.rs index 2868b5112e95a..d7da2e2b69295 100644 --- a/crates/ruff/src/rules/pyflakes/rules/unused_variable.rs +++ b/crates/ruff/src/rules/pyflakes/rules/unused_variable.rs @@ -327,6 +327,7 @@ pub fn unused_variable(checker: &mut Checker, scope: ScopeId) { && name != &"__tracebackhide__" && name != &"__traceback_info__" && name != &"__traceback_supplement__" + && name != &"__debuggerskip__" { let mut diagnostic = Diagnostic::new( UnusedVariable {