SublimeLinter / SublimeLinter-flake8

SublimeLinter plugin for python, using flake8.
MIT License
184 stars 28 forks source link

W type errors not showing #122

Closed philgzl closed 2 years ago

philgzl commented 2 years ago

Hi,

For some reason W type errors are not being highlighted, even though they show in the console after turning debug mode on. In the screenshot below you can see error F401 is correctly highlighted, but errors W291, W391 and W293 are not, even though they show in the console. Is there a setting that I am missing?

image

philgzl commented 2 years ago

Well I found the solution shortly after. I was indeed missing the ignore_fixables option, which is false by default. The following user settings gives the behavior I was looking for:

// SublimeLinter Settings - User
{
    "linters":
    {
        "flake8": {
            "ignore_fixables": false,
        }
    }
}