ruff/crates/ruff_cli
Zanie Blue 0fc76ba276
Rename applicability levels to `Safe`, `Unsafe`, and `Display` (#7843)
After working with the previous change in
https://github.com/astral-sh/ruff/pull/7821 I found the names a bit
unclear and their relationship with the user-facing API muddied. Since
the applicability is exposed to the user directly in our JSON output, I
think it's important that these names align with our configuration
options. I've replaced `Manual` or `Never` with `Display` which captures
our intent for these fixes (only for display). Here, we create room for
future levels, such as `HasPlaceholders`, which wouldn't fit into the
`Always`/`Sometimes`/`Never` levels.

Unlike https://github.com/astral-sh/ruff/pull/7819, this retains the
flat enum structure which is easier to work with.
2023-10-06 20:50:05 -05:00
..
resources/test/fixtures Fix gitignore to not ignore files that are required (#7538) 2023-09-21 21:33:09 +02:00
src Write summary messages to stderr when fixing via stdin (instead of omitting them) (#7838) 2023-10-06 12:11:03 -05:00
tests Rename applicability levels to `Safe`, `Unsafe`, and `Display` (#7843) 2023-10-06 20:50:05 -05:00
Cargo.toml Bump Ruff version to v0.0.292 (#7761) 2023-10-02 12:14:47 -04:00