jupyterlab-lsp icon indicating copy to clipboard operation
jupyterlab-lsp copied to clipboard

Comment string suggest wrong configuration syntax

Open michaelaye opened this issue 2 years ago • 0 comments

I tried to use the suggested configuration from the comment string in the settings:

image

using:

{
        pylsp: {
            serverSettings: {
                "pylsp.configurationSources": ['flake8'],
                "pylsp.plugins.pyflakes.enabled": false,
                "pylsp.plugins.flake8.enabled": true,
            }
        }
}

but these settings never showed an effect (I kept receiving pyflakes suggestions).

After changing above to:

{
        "pylsp": {
            "serverSettings": {
                "pylsp.configurationSources": ['flake8'],
                "pylsp.plugins.pyflakes.enabled": false,
                "pylsp.plugins.flake8.enabled": true,
            }
        }
}

things were working. I suggest that the comment string should be updated to prevent others from being confused as well.

JLab version: 3.3.0 pylsp: 1.2.1

michaelaye avatar Mar 08 '22 20:03 michaelaye