线路
demo_code = print("foo bar") # some comments and this line length exceed 79 that i config.
正在由
ruff format
格式化为
demo_code = print(
"foo bar"
) # some comments and this line length exceed 79 that i config.
因为它超过了
line-length
中定义的值。
我想让
ruff
只计算命令字符并忽略注释。