mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-02 18:02:23 +00:00
Fix a wrong setting in configuration.md (#8186)
## Summary The previous configuration for `ruff` contained an unrecognized field `magic-trailing-comma` set to "respect". As of version 0.1.2 of `ruff`, this field was not recognized and resulted in a TOML parse error when running the `ruff format .` command. This change removes the `magic-trailing-comma` field and adds the recognized `skip-magic-trailing-comma` field set to `false`. ## Test Plan Tested locally with `ruff` 0.1.2.
This commit is contained in:
parent
0236e0751c
commit
a6cc56fd98
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ quote-style = "double"
|
|||
indent-style = "space"
|
||||
|
||||
# Like Black, respect magic trailing commas.
|
||||
magic-trailing-comma = "respect"
|
||||
skip-magic-trailing-comma = false
|
||||
|
||||
# Like Black, automatically detect the appropriate line ending.
|
||||
line-ending = "auto"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue