Skip to content

Fix a wrong setting in configuration.md#8186

Merged
zanieb merged 1 commit intoastral-sh:mainfrom
lmanc:patch-1
Oct 24, 2023
Merged

Fix a wrong setting in configuration.md#8186
zanieb merged 1 commit intoastral-sh:mainfrom
lmanc:patch-1

Conversation

@lmanc
Copy link
Copy Markdown
Contributor

@lmanc lmanc commented Oct 24, 2023

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.

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`.
Copy link
Copy Markdown
Member

@zanieb zanieb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@zanieb zanieb added the documentation Improvements or additions to documentation label Oct 24, 2023
@zanieb zanieb merged commit a6cc56f into astral-sh:main Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants