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:
konsti
2023-07-19 23:06:10 +02:00
committed by GitHub
parent 598549d24e
commit a459d8ffc7
4 changed files with 29 additions and 18 deletions

1
ruff.schema.json generated
View File

@@ -2409,7 +2409,6 @@
"RUF011",
"RUF012",
"RUF013",
"RUF014",
"RUF015",
"RUF016",
"RUF1",