mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-04 18:58:04 +00:00
Fix description of the format.skip-magic-trailing-comma
example (#19095)
## Summary This PR fixes a typo in the docs, where both variants of a config have the same description.
This commit is contained in:
parent
b00f68a23c
commit
1b813cd5f1
2 changed files with 2 additions and 2 deletions
|
@ -3587,7 +3587,7 @@ pub struct FormatOptions {
|
|||
/// Setting `skip-magic-trailing-comma = true` changes the formatting to:
|
||||
///
|
||||
/// ```python
|
||||
/// # The arguments remain on separate lines because of the trailing comma after `b`
|
||||
/// # The arguments are collapsed to a single line because the trailing comma is ignored
|
||||
/// def test(a, b):
|
||||
/// pass
|
||||
/// ```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue