gpt4 book ai didi

python-3.x - 如何将 pylint 选项卡宽度从 4 个空格更改为 2 个空格?

转载 作者:行者123 更新时间:2023-12-03 16:13:59 32 4
gpt4 key购买 nike

我试过 pylint --indent-string=" " ,但我不断收到帮助消息。我应该怎么做来配置 pylint.

最佳答案

根据docs , " "表示4个空格。

您需要使用单引号:pylint --indent-string=' '

关于python-3.x - 如何将 pylint 选项卡宽度从 4 个空格更改为 2 个空格?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54117674/

32 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com