ruff/crates/flake8_to_ruff/src
Zanie Blue 316f75987d
Add `explicit-preview-rules` to toggle explicit selection of preview rules (#7390)
Closes #7434 

Replaces the `PREVIEW` selector (removed in #7389) with a configuration
option `explicit-preview-rules` which requires selectors to use exact
rule codes for all preview rules. This allows users to enable preview
without opting into all preview rules at once.

## Test plan

Unit tests
2023-09-28 15:00:33 -05:00
..
black.rs Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
converter.rs Add `lint` section to Ruff configuration 2023-09-27 08:46:27 +02:00
external_config.rs Move `Configuration` to `ruff_workspace` crate (#6920) 2023-08-28 06:21:35 +00:00
isort.rs Move `Configuration` to `ruff_workspace` crate (#6920) 2023-08-28 06:21:35 +00:00
main.rs Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
parser.rs Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
pep621.rs Move `Configuration` to `ruff_workspace` crate (#6920) 2023-08-28 06:21:35 +00:00
plugin.rs Add `explicit-preview-rules` to toggle explicit selection of preview rules (#7390) 2023-09-28 15:00:33 -05:00
pyproject.rs Move `Configuration` to `ruff_workspace` crate (#6920) 2023-08-28 06:21:35 +00:00