Re: [git pull] drm for 6.18-rc1
From: Linus Torvalds
Date: Sun Oct 05 2025 - 17:33:25 EST
On Sun, 5 Oct 2025 at 14:31, Maarten ter Huurne <maarten@xxxxxxxxxxxxxx> wrote:
>
> The Black and Ruff formatting tools for Python use a "magic comma" rule
> that works well in practice: if the last item has a trailing comma, the
> items are guaranteed to be formatted multi-line, while if there is no
> trailing comma, single-line formatting is attempted.
Oh, that sounds like a good heuristic, because that "comma after last
entry" is very much "I expect this list to be expanded upon later".
Linus