mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-29 13:25:17 +00:00
Remove unreachable-code
feature (#9463)
## Summary We haven't found time to flip this on, so feels like it's best to remove it for now -- can always restore from source when we get back to it.
This commit is contained in:
parent
350dcb807a
commit
f9dd7bb190
18 changed files with 20 additions and 4316 deletions
|
@ -1213,8 +1213,6 @@ mod tests {
|
|||
}
|
||||
.as_rule_table(preview.map(|preview| preview.mode).unwrap_or_default())
|
||||
.iter_enabled()
|
||||
// Filter out rule gated behind `#[cfg(feature = "unreachable-code")]`, which is off-by-default
|
||||
.filter(|rule| rule.noqa_code() != "RUF014")
|
||||
.collect()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue