1 打开Preference>Browse Package,找到Anaconda>Anaconda.sublime-settings用notepad或者其他打开,找到autoformat_ignore,更改代码如下:
/*
Do not fix the errors listed here:
Note: By default we ignore E309 as this is not pep8 but it does
conflict with pep257 D211.
*/
"autoformat_ignore":
[
"E309"
"W0312"
"C0326"
"C0111"
"C0103"
"E231"
],
2 打开Preference>Browse Package,找到Pylinter>Pylinter.sublime-settings文件,修改ignore为:
"ignore":["R","C","W","F","E"],
随后重启sublime text应该就好了!