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:
Luca Mancusi 2023-10-25 00:05:09 +02:00 committed by GitHub
parent 0236e0751c
commit a6cc56fd98
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"