-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationformatterRelated to the formatterRelated to the formatter
Milestone
Description
Excerpt from https://github.com/peterjc/thapbi-pict/blob/v1.0.3/thapbi_pict/prepare.py formatted by black (e.g. black version 23.10.1):
assert (
parse_flash_stdout(
"""\
...
[FLASH] Read combination statistics:
[FLASH] Total pairs: 6105
[FLASH] Combined pairs: 5869
...
"""
)
== (6105, 5869)
)Output from ruff version 1.0.3 (which black reverts to the above):
assert parse_flash_stdout(
"""\
...
[FLASH] Read combination statistics:
[FLASH] Total pairs: 6105
[FLASH] Combined pairs: 5869
...
"""
) == (6105, 5869)I prefer the ruff version (one less level of indentation and no redundant parenthesis).
I'm unsure if this is https://github.com/astral-sh/ruff/blob/main/docs/formatter/black.md#call-chain-calls-break-differently or #8180 or #8331.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationformatterRelated to the formatterRelated to the formatter