-
It seems that in addition to installing pylint (which I have installed in version 3.0.3) I have to enable an option called pylsp.plugins.pylint.enabled (https://github.com/python-lsp/python-lsp-server/blob/develop/CONFIGURATION.md) From lsp.conf I see that this section seems to talk about how I could do it:
So I changed the configuration like this for the python section:
Now, regarding the content of init_options.json it seems that it is not something standard that I have to put there but that it depends on the ide: python-lsp/python-lsp-server#176
I tried to see if I had any luck, but it didn't work.
But I also didn't end up understanding how I should put together the message How should I do it? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
If I remember correctly, I also had trouble getting the initialization options sent to the server for pylsp (it worked for other servers though). What you might try is to drop
because these could just be vscode settings specifying which server to configure. So I'd suggest trying
or possibly keeping Also check python-lsp/python-lsp-server#176 (comment) - maybe it should be configured in the second format and you use the whole strings from https://github.com/python-lsp/python-lsp-server/blob/develop/CONFIGURATION.md as keys. Let me know if it works. |
Beta Was this translation helpful? Give feedback.
If I remember correctly, I also had trouble getting the initialization options sent to the server for pylsp (it worked for other servers though).
What you might try is to drop
because these could just be vscode settings specifying which server to configure. So I'd suggest trying
or possibly keeping
pylsp
and droppingsettings
only.Also check python-lsp/python-lsp-ser…