Skip to content

Commit

Permalink
refactor: Move Top-level heading into ruff_dev
Browse files Browse the repository at this point in the history
  • Loading branch information
not-my-profile authored and charliermarsh committed Feb 17, 2023
1 parent 8195873 commit b0d72c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1269,11 +1269,11 @@ You can also ask for help on [**Discord**](https://discord.gg/c9MhzV8aU5).

<!-- Begin section: Settings -->

### Top-level

<!-- Sections automatically generated by `cargo dev generate-options`. -->
<!-- Begin auto-generated options sections. -->

### Top-level

#### [`allowed-confusables`](#allowed-confusables)

A list of allowed "confusable" Unicode characters to ignore when
Expand Down
2 changes: 1 addition & 1 deletion crates/ruff_dev/src/generate_options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ fn emit_field(output: &mut String, name: &str, field: &OptionField, group_name:
}

pub fn main(args: &Args) -> Result<()> {
let mut output = String::new();
let mut output: String = "### Top-level\n\n".into();

let mut sorted_options = Options::get_available_options();
sorted_options.sort_by_key(|(name, _)| *name);
Expand Down

0 comments on commit b0d72c4

Please sign in to comment.