Skip to content

I'm having trouble enabling pylint in python-lsp. #40

Answered by techee
Sturm0 asked this question in Q&A
Discussion options

You must be logged in to vote

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

  "settings": {
    "pylsp": {
    }
  }

because these could just be vscode settings specifying which server to configure. So I'd suggest trying

{
      "configurationSources": [
        "pycodestyle"
      ],
      "plugins": {
        "autopep8": {
          "enabled": false
        },
        "pylint": {
			"enabled" : true
		}
      },
      "rope": {
        "extensionModules": null,
        "ropeFolder": null
      }
}

or possibly keeping pylsp and dropping settings only.

Also check python-lsp/python-lsp-ser…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Sturm0
Comment options

@techee
Comment options

Answer selected by Sturm0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants