mirror of
https://github.com/astral-sh/ruff
synced 2026-01-20 21:10:48 -05:00
Filter off-by-default RUF014 out of schema (#5832)
**Summary** Previously, `RUF014` would be part of ruff.schema.json depending on whether or not the `unreachable-code` feature was active. This caused problems for contributors who got unrelated RUF014 changes when updating the schema without the feature active. An alternative would be to always add `RUF014`. **Test plan** `cargo dev generate-all` and `cargo run --bin ruff_dev --features unreachable-code -- generate-all` now have the same effect.
This commit is contained in:
1
ruff.schema.json
generated
1
ruff.schema.json
generated
@@ -2409,7 +2409,6 @@
|
||||
"RUF011",
|
||||
"RUF012",
|
||||
"RUF013",
|
||||
"RUF014",
|
||||
"RUF015",
|
||||
"RUF016",
|
||||
"RUF1",
|
||||
|
||||
Reference in New Issue
Block a user