mirror of https://github.com/astral-sh/ruff
refactor: Move Top-level heading into ruff_dev
This commit is contained in:
parent
8195873cdf
commit
b0d72c47b4
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue