sublimelsp / LSP-pylsp

Convenience package for the Python Language Server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

why flake8 doesn't work?

HuaYishu opened this issue · comments

Here is my pylsp configuration:

{
    "pylsp.configurationSources": ["flake8"],
    "pylsp.plugins.flake8.enabled": true,
    "pylsp.plugins.pycodestyle.enabled": false,
}

And I try to restart sublime several times, however, it just doesn't work and linter is stiil pycodestyle.

But, what is strange is that the option "python-binary" can work when I rewrite it. So, I think the user configuration on linter written by user seems to be unable to cover the defualt.

Where did you place those options? Doesn't look like it's using expected structure. Follow the structure of default settings.

You're right. Those linter options should be placed in settings. Thanks a lot.