gpt4 book ai didi

python - 如何忽略pep8 E128 : continuation line under-indented for visual indent in Sublime Text

转载 作者:太空宇宙 更新时间:2023-11-03 17:49:37 27 4
gpt4 key购买 nike

我正在 Sublime 文本编辑器中使用 Python。我被添加PEP8 packages .

我将 128 添加到以下文件“pep8_ignore”中。添加128并保存后。

Preferences --> Package Setting --> SublimePythonIDE --> Seting User

{  
"pep8_ignore": [128],
"pep8_max_line_length": 100,
}

之后不再显示任何PEP8语法错误/警告。我做错了什么?

我怎样才能只忽略128 - E128:连续行缩进视觉缩进警告?

最佳答案

您因错误而错过了E。试试这个,

{  
"pep8_ignore": ["E128"]
}

您可以使用 E 表示错误,使用 W 表示警告。 link

关于python - 如何忽略pep8 E128 : continuation line under-indented for visual indent in Sublime Text,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29271643/

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