mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-28 21:05:08 +00:00
Update doc defaults for section-order
(#4232)
This commit is contained in:
parent
c2921e957b
commit
c0e7269b07
1 changed files with 1 additions and 1 deletions
|
@ -272,7 +272,7 @@ pub struct Options {
|
||||||
/// in the order specified.
|
/// in the order specified.
|
||||||
pub forced_separate: Option<Vec<String>>,
|
pub forced_separate: Option<Vec<String>>,
|
||||||
#[option(
|
#[option(
|
||||||
default = r#"[]"#,
|
default = r#"["future", "standard-library", "third-party", "first-party", "local-folder"]"#,
|
||||||
value_type = r#"list["future" | "standard-library" | "third-party" | "first-party" | "local-folder" | str]"#,
|
value_type = r#"list["future" | "standard-library" | "third-party" | "first-party" | "local-folder" | str]"#,
|
||||||
example = r#"
|
example = r#"
|
||||||
section-order = ["future", "standard-library", "first-party", "local-folder", "third-party"]
|
section-order = ["future", "standard-library", "first-party", "local-folder", "third-party"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue