mirror of https://github.com/astral-sh/ruff
Use `ALL` in `fixable` documentation (#4772)
This commit is contained in:
parent
3d34d9298d
commit
46c3b3af94
|
|
@ -216,7 +216,7 @@ pub struct Options {
|
||||||
/// Like `fix`, but disables reporting on leftover violation. Implies `fix`.
|
/// Like `fix`, but disables reporting on leftover violation. Implies `fix`.
|
||||||
pub fix_only: Option<bool>,
|
pub fix_only: Option<bool>,
|
||||||
#[option(
|
#[option(
|
||||||
default = r#"["A", "ANN", "ARG", "B", "BLE", "C", "COM", "D", "DTZ", "E", "EM", "ERA", "EXE", "F", "FBT", "G", "I", "ICN", "INP", "ISC", "N", "PD", "PGH", "PIE", "PL", "PT", "PTH", "Q", "RET", "RUF", "S", "SIM", "T", "TCH", "TID", "TRY", "UP", "W", "YTT"]"#,
|
default = r#"["ALL"]"#,
|
||||||
value_type = "list[RuleSelector]",
|
value_type = "list[RuleSelector]",
|
||||||
example = r#"
|
example = r#"
|
||||||
# Only allow autofix behavior for `E` and `F` rules.
|
# Only allow autofix behavior for `E` and `F` rules.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue