Skip to content

Commit fbb9fa7

Browse files
GeObtsdroppingbeansntBre
authored
docs: fix incorrect import-heading example (#23568)
Fixes incorrect TOML example for import-heading configuration. Closes #23420 --------- Co-authored-by: GeObts <thebeansbot@gmail.com> Co-authored-by: Brent Westbrook <brentrwestbrook@gmail.com>
1 parent 5bc49a9 commit fbb9fa7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

crates/ruff_workspace/src/options.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2530,6 +2530,7 @@ pub struct IsortOptions {
25302530
#[option(
25312531
default = r#"{}"#,
25322532
value_type = r#"dict["future" | "standard-library" | "third-party" | "first-party" | "local-folder" | str, str]"#,
2533+
scope = "import-heading",
25332534
example = r#"
25342535
future = "Future imports"
25352536
standard-library = "Standard library imports"

0 commit comments

Comments
 (0)