Since I updated to the preview version of ruff, any function call that is just slighly too long gets updated as
def f(x, y, z, a, b, c, d):
...
def f(
x, y, z, a, b, c, d
):
...
def f(
x, y, z, a, b, c, d,
):
...
def f(
x,
y,
z,
a,
b,
c,
d,
):
...
which is a bit silly.
def f(
x, y, z, a, b, c, d
):
...
is often fine.
What causes ruff to format in this way? Do you agree with ruff? Do you know how I could tweak my ruff rules to change the behaviour?