Skip to content

Commit 1b813cd

Browse files
authored
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.
1 parent b00f68a commit 1b813cd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/ruff_workspace/src/options.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3587,7 +3587,7 @@ pub struct FormatOptions {
35873587
/// Setting `skip-magic-trailing-comma = true` changes the formatting to:
35883588
///
35893589
/// ```python
3590-
/// # The arguments remain on separate lines because of the trailing comma after `b`
3590+
/// # The arguments are collapsed to a single line because the trailing comma is ignored
35913591
/// def test(a, b):
35923592
/// pass
35933593
/// ```

ruff.schema.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)