You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a multiline dict/function call is collapsed into fewer lines by black, it seems to leave stray trailing commas. This does not happen when using --skip-magic-trailing-comma.
Describe the bug
When a multiline dict/function call is collapsed into fewer lines by black, it seems to leave stray trailing commas. This does not happen when using
--skip-magic-trailing-comma
.To Reproduce
For example, take this code:
And run it with these arguments:
The resulting output is:
Expected behavior
The output should look something like this (without the stray trailing commas):
Environment
Additional context
The text was updated successfully, but these errors were encountered: