python – SublimeLinter不服从“pep8_ignore”设置

前端之家收集整理的这篇文章主要介绍了python – SublimeLinter不服从“pep8_ignore”设置前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我正在使用Sublime Linter,无法通过以下设置获得PEP 8(W191).
为什么? @H_403_3@{ "color_scheme": "Packages/Color Scheme - Default/Mac Classic.tmTheme","fold_buttons": false,"font_face": "SourceCodePro-Regular","font_size": 13.0,"ignored_packages": [ "Vintage" ],"line_padding_bottom": 1,"line_padding_top": 1,"word_wrap": true,"pep8": false,"pep8_ignore": [ "W191" ] }

解决方法

尝试将Packages / User / SublimeLinter.sublime-settings设置为以下内容: @H_403_3@{ "pep8": false,"pep8_ignore": [ "W191" ] }

并看看是否能修复问题. SublimeLinter可能没有在常规用户设置文件中查找这些选项.

猜你在找的Python相关文章