ruff/crates/ruff_cli
Charlie Marsh 9a2f3e2cef
Ignore preview status for fixable and unfixable selectors (#9538)
## Summary

Right now, if you run with `explicit-preview-rules`, and use something
like `select = ["RUF017"]`, we won't actually enable fixing for that
rule, because `fixable = ["ALL"]` (the default) won't include `RUF017`
due to the `explicit-preview-rules`.

The framing in this PR is that `explicit-preview-rules` should only
affect the enablement selectors, whereas the fixable selectors should
just include all possible matching rules. I think this will lead to the
most intuitive behavior.

Closes https://github.com/astral-sh/ruff/issues/9282. (An alternative to
https://github.com/astral-sh/ruff/pull/9284.)
2024-01-15 21:48:41 -05:00
..
resources/test/fixtures Update ruff check and ruff format to default to the current directory (#8791) 2023-11-21 11:34:21 -06:00
src --show-settings displays active settings in a far more readable format (#9464) 2024-01-12 14:30:29 -05:00
tests Ignore preview status for fixable and unfixable selectors (#9538) 2024-01-15 21:48:41 -05:00
build.rs Add ruff version with long version display (#8034) 2023-10-20 14:07:41 -05:00
Cargo.toml Bump version to v0.1.13 (#9493) 2024-01-12 09:27:39 -05:00