Setting The Python LSP To Use Pylint In Kate

Setting the Python LSP to use pylint

Given the python-lsp-server package is installed (Arch BTW)

Edit file ~/.config/kate/lspclient/settings.json to have:

{
  "servers": {
    "python": {
      "settings":{
        "pylsp": {
          "plugins": {
            "pylint": {"enabled": true}
          }
        }
      }
    }
  }
}

It took restarting kate to work (just restarting LSP doesn’t load configuration changes)

more configuration options available at: python-lsp-server CONFIGURATION.md

I also recognise the LSP configuration example at
https://docs.kde.org/trunk5/en/kate/kate/kate-application-plugin-lspclient.html
has a couple typos

1 Like