settings: Don't try to disable flake8, document relevant limitation#47
Conversation
flake8 plugin is disabled by default. If it's been enabled in the pylsp configuration then it's not possible for another plugin to disable it. The other four plugins (pycodestyle, pyflakes, mccabe, pyls_isort) are all enabled by default so the ruff plugin can disable them, provided they're not explicitly enabled in the configuration. Closes python-lsp#46
|
i am a little confused the title, i remember this 'ruff' plugin was (aim to) going to be the only linter for pylsp, |
|
@Shane-XB-Qian Linting with Effectively this changes nothing since See #46 for more details |
|
I've edited the description of the PR, as it was a bit terse. Hope that's clearer, @Shane-XB-Qian. |
|
ok, just wish keep this/its 'aim', make the result be stable and simple/clear. |
|
except this linter/diag cfg, the left things (to be refined) of pylsp as i knew maybe were: |
Removes flake8 from the list of
This plugin will disable [...] by default. This doesn't change the existing behaviour at all:The flake8 plugin is disabled by default in pylsp. If it's been enabled in the pylsp configuration then it's not actually possible for another plugin like this one to disable it.
The other four plugins disabled by python-lsp-ruff (pycodestyle, pyflakes, mccabe, pyls_isort) are enabled by default so the ruff plugin is able to disable these plugins, provided they're not explicitly enabled in the configuration.
Closes #46
Thanks for maintaining python-lsp-ruff, it's a very handy plugin! 😁