mirror of https://github.com/astral-sh/ruff
Update doc defaults for `section-order` (#4232)
This commit is contained in:
parent
c2921e957b
commit
c0e7269b07
|
|
@ -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…
Reference in New Issue