ruff/crates
Zanie Blue f18e7d40ac
Add internal hidden rules for testing (#9747)
Updated implementation of https://github.com/astral-sh/ruff/pull/7369
which was left out in the cold.

This was motivated again following changes in #9691 and #9689 where we
could not test the changes without actually deprecating or removing
rules.

---

Follow-up to discussion in https://github.com/astral-sh/ruff/pull/7210

Moves integration tests from using rules that are transitively in
nursery / preview groups to dedicated test rules that only exist during
development. These rules always raise violations (they do not require
specific file behavior). The rules are not available in production or in
the documentation.

Uses features instead of `cfg(test)` for cross-crate support per
https://github.com/rust-lang/cargo/issues/8379
2024-02-01 08:44:51 -06:00
..
ruff Add internal hidden rules for testing (#9747) 2024-02-01 08:44:51 -06:00
ruff_benchmark Approximate tokens len (#9546) 2024-01-19 17:39:37 +01:00
ruff_cache Make all dependencies workspace dependencies (#9333) 2024-01-02 13:41:59 +00:00
ruff_dev help: enable auto-wrapping of help output (#9633) 2024-01-24 10:51:07 -05:00
ruff_diagnostics Enable annotation quoting for multi-line expressions (#9142) 2023-12-15 01:03:09 +00:00
ruff_formatter Range formatting API (#9635) 2024-01-31 11:13:37 +01:00
ruff_index Make all dependencies workspace dependencies (#9333) 2024-01-02 13:41:59 +00:00
ruff_linter Add internal hidden rules for testing (#9747) 2024-02-01 08:44:51 -06:00
ruff_macros Add internal hidden rules for testing (#9747) 2024-02-01 08:44:51 -06:00
ruff_notebook Detect automagic-like assignments in notebooks (#9653) 2024-01-29 12:55:44 +00:00
ruff_python_ast Range formatting API (#9635) 2024-01-31 11:13:37 +01:00
ruff_python_codegen Remove source path from parser errors (#9322) 2023-12-30 20:33:05 +00:00
ruff_python_formatter Range formatting API (#9635) 2024-01-31 11:13:37 +01:00
ruff_python_index Removing trailing whitespace inside multiline strings is unsafe (#9744) 2024-01-31 21:45:23 +00:00
ruff_python_literal Use Rust 1.75 toolchain (#9437) 2024-01-08 18:03:16 +01:00
ruff_python_parser Approximate tokens len (#9546) 2024-01-19 17:39:37 +01:00
ruff_python_resolver Use Rust 1.75 toolchain (#9437) 2024-01-08 18:03:16 +01:00
ruff_python_semantic [`tryceratops`] Add fix for `error-instead-of-exception` (`TRY400`) (#9520) 2024-01-16 03:00:04 +00:00
ruff_python_stdlib Add an explicit fast path for whitespace to `is_identifier_continuation` (#9532) 2024-01-16 08:23:43 +00:00
ruff_python_trivia Add an explicit fast path for whitespace to `is_identifier_continuation` (#9532) 2024-01-16 08:23:43 +00:00
ruff_shrinking Bump version to v0.1.15 (#9690) 2024-01-29 17:44:05 -05:00
ruff_source_file Range formatting API (#9635) 2024-01-31 11:13:37 +01:00
ruff_text_size Make all dependencies workspace dependencies (#9333) 2024-01-02 13:41:59 +00:00
ruff_wasm Range formatting API (#9635) 2024-01-31 11:13:37 +01:00
ruff_workspace Add internal hidden rules for testing (#9747) 2024-02-01 08:44:51 -06:00