Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SublimeLinter not obeying "pep8_ignore" settings

I am using Sublime Linter and cannot get PEP 8 (W191) to go away with the following settings. Why?

{
    "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"
    ]
}
like image 868
Chris Redford Avatar asked May 20 '13 23:05

Chris Redford


1 Answers

Try setting Packages/User/SublimeLinter.sublime-settings to the following:

{
    "pep8": false,
    "pep8_ignore": 
    [
        "W191"
    ]
}

and see if that fixes things. SublimeLinter may not be looking in your regular user settings file for these options.

like image 153
MattDMo Avatar answered Sep 19 '22 13:09

MattDMo