Skip to content

Docs: Readme docs mistake #8199

@ran-isenberg

Description

@ran-isenberg

When using the recommended configuration presented in the readme file, an error is received:

the configuration: https://gist.githubusercontent.com/ran-isenberg/9ac9b9d034a888f88d9c5e11b94a12b7/raw/14b21ae8b2cae73f43612c48079aaa2e5b217881/bug.yml

The output when running 'ruff format'

ruff failed
  Cause: TOML parse error at line 118, column 1
    |
118 | magic-trailing-comma = "respect"
    | ^^^^^^^^^^^^^^^^^^^^
unknown field `magic-trailing-comma`, expected one of `exclude`, `preview`, `indent-style`, `quote-style`, `skip-magic-trailing-comma`, `line-ending`

possible fix: remove magic-trailing-comma from the configuration example.

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions