diff --git a/crates/ruff_workspace/src/configuration.rs b/crates/ruff_workspace/src/configuration.rs index c2d61a80b83af..2225d85752a38 100644 --- a/crates/ruff_workspace/src/configuration.rs +++ b/crates/ruff_workspace/src/configuration.rs @@ -812,6 +812,8 @@ mod tests { Rule::DeleteFullSlice, Rule::CheckAndRemoveFromSet, Rule::QuadraticListSummation, + #[cfg(feature = "unreachable-code")] + Rule::UnreachableCode, ]; #[allow(clippy::needless_pass_by_value)]