From 16f830fc62f5cee4207f52bc428ffd29b7ea92a5 Mon Sep 17 00:00:00 2001 From: Zanie Date: Wed, 6 Sep 2023 16:07:11 -0500 Subject: [PATCH] Add unreachable code to test cases --- crates/ruff_workspace/src/configuration.rs | 2 ++ 1 file changed, 2 insertions(+) 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)]