Skip to content

How to remove trailing comma? #9350

Answered by tjkuson
michaelxswe asked this question in Q&A
Discussion options

You must be logged in to vote

The Ruff formatter tries to follow the Black code style, which adds a trailing comma. A configuration option has not been added to Ruff to change that behaviour (it would have to be a new feature).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@michaelxswe
Comment options

Answer selected by michaelxswe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants