Skip to content

Clarify "pyls" vs "pylsp" #173

Closed
Closed
@stefaneidelloth

Description

@stefaneidelloth

I would like to enable pylint checks for jupyterlab-lsp and tried to configure the servers in the Advanced Settings Editor as
described in:

https://github.com/jupyter-lsp/jupyterlab-lsp#configuring-the-servers

While jupyterlab-lsp uses "pyls" as name, python-lsp-server seams to use "pylsp".

=> What is the right name to use? Are pyls and pylsp different things or has pyls been renamed to pylsp?

Related: #171

I even tried to include both settings but following config does not enable pylint:

{  
    "language_servers": {
        "pyright": {
            "serverSettings": {
                "python.analysis.useLibraryCodeForTypes": true
            }
        },
        "pyls": {
            "serverSettings": {
                "pyls": {
                    "plugins": {
                        "pydocstyle": {
                          "enabled": true
                        },
                        "pyflakes": {
                          "enabled": true
                        },
                        "flake8": {
                          "enabled": true
                        },
                        "pylint": {
                          "enabled": true
                        }
                    }
                }
            }
        },
        "pylsp": {
            "serverSettings": {
                "pylsp": {
                    "plugins": {
                        "pydocstyle": {
                          "enabled": true
                        },
                        "pyflakes": {
                          "enabled": true
                        },
                        "flake8": {
                          "enabled": true
                        },
                        "pylint": {
                          "enabled": true
                        }
                    }
                }
            }
        }
    }
    
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions