mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-03 18:28:24 +00:00
Remove exclude
suggestion to use extend-exclude
in tool.ruff.format
config docs (#8302)
## Summary Remove wrong note on `tool.ruff.format` `exclude` option from documentation which is referencing `extend-exclude` even if it's not relevant for the formatter options (`exclude` is additive). See #8301 ## Test Plan N/A (Docs change)
This commit is contained in:
parent
223873c8c7
commit
3af890f32f
2 changed files with 1 additions and 4 deletions
|
@ -2613,9 +2613,6 @@ pub struct FormatOptions {
|
|||
/// (e.g., the directory containing your `pyproject.toml`).
|
||||
///
|
||||
/// For more information on the glob syntax, refer to the [`globset` documentation](https://docs.rs/globset/latest/globset/#syntax).
|
||||
///
|
||||
/// Note that you'll typically want to use
|
||||
/// [`extend-exclude`](#extend-exclude) to modify the excluded paths.
|
||||
#[option(
|
||||
default = r#"[]"#,
|
||||
value_type = "list[str]",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue