ruff/crates/ruff_dev/src
Zanie Blue e0bc08a758 Add rule removal infrastructure (#9691)
Similar to https://github.com/astral-sh/ruff/pull/9689 — retains removed
rules for better error messages and documentation but removed rules
_cannot_ be used in any context.

Removes PLR1706 as a useful test case and something we want to
accomplish in #9680 anyway. The rule was in preview so we do not need to
deprecate it first.

Closes https://github.com/astral-sh/ruff/issues/9007

## Test plan

<img width="1110" alt="Rules table"
src="ac9fa682-623c-44aa-8e51-d8ab0d308355">

<img width="1110" alt="Rule page"
src="05850b2d-7ca5-49bb-8df8-bb931bab25cd">
2024-02-01 13:35:02 -06:00
..
format_dev.rs Rename ruff_cli crate to ruff (#9557) 2024-01-16 17:47:01 -05:00
generate_all.rs Document ruff_dev and format_dev (#5648) 2023-07-12 16:18:22 +02:00
generate_cli_help.rs help: enable auto-wrapping of help output (#9633) 2024-01-24 10:51:07 -05:00
generate_docs.rs Add rule removal infrastructure (#9691) 2024-02-01 13:35:02 -06:00
generate_json_schema.rs Move Configuration to ruff_workspace crate (#6920) 2023-08-28 06:21:35 +00:00
generate_options.rs Promote lint. settings over top-level settings (#9476) 2024-02-01 13:35:02 -06:00
generate_rules_table.rs Add rule removal infrastructure (#9691) 2024-02-01 13:35:02 -06:00
main.rs Rename ruff_cli crate to ruff (#9557) 2024-01-16 17:47:01 -05:00
print_ast.rs Remove source path from parser errors (#9322) 2023-12-30 20:33:05 +00:00
print_cst.rs Disallow unreachable_pub (#4314) 2023-05-11 18:00:00 -04:00
print_tokens.rs Update ruff-dev to use SourceKind (#8878) 2023-11-28 14:27:35 -06:00
round_trip.rs Remove source path from parser errors (#9322) 2023-12-30 20:33:05 +00:00