mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-03 18:28:24 +00:00
Use ALL
in fixable
documentation (#4772)
This commit is contained in:
parent
3d34d9298d
commit
46c3b3af94
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ pub struct Options {
|
|||
/// Like `fix`, but disables reporting on leftover violation. Implies `fix`.
|
||||
pub fix_only: Option<bool>,
|
||||
#[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]",
|
||||
example = r#"
|
||||
# Only allow autofix behavior for `E` and `F` rules.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue