Message409132
For very long expression or very long message you can add parentheses around the expression or message. Black will format it as:
assert (
very very long
expression
), (
"very very long "
"message"
)
With the proposed feature it will be:
assert (
very very long
expression,
"very very long "
"message",
)
It saves one line, but the border between an expression and a message is blur. Since they are separated by a comma at the end of line and all lines have the same indentation it looks less readable to me.
Note also that Black adds a comma after message. |
|
Date |
User |
Action |
Args |
2021-12-24 08:44:22 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, gvanrossum, rhettinger, gregory.p.smith, lys.nikolaou, pablogsal, slebedev |
2021-12-24 08:44:22 | serhiy.storchaka | set | messageid: <1640335462.67.0.627577206569.issue46167@roundup.psfhosted.org> |
2021-12-24 08:44:22 | serhiy.storchaka | link | issue46167 messages |
2021-12-24 08:44:22 | serhiy.storchaka | create | |
|