我想记录一个外部函数:
strange_function(
# Comments about what this argument does
param_1=True,
# Comments about what this argument does
param_2=False,
)
Black 将其重新格式化为:
strange_function(
# Comments about what this argument does
param_1=True,
# Comments about what this argument does
param_2=False,
)
我想要和之间的新行param_1
,param_2
因为这样评论更具可读性。但是黑色消除了这一点。它如何阻止它这样做?