Skip to content

dmypy is not killed when python-lsp exits #88

Open
@itaranto

Description

@itaranto

I'm using Neovim with its native LSP client.

If I close the editor I still see an instance of dmypy up and running.

When editing a .py file I can see the follwing using pstree -lp:

image

It seems to be there's one instance of dmypy which in fact is a child process of pylsp, this instance gets killed when I close my editor (and by extension, pylsp too). But there's another instance which seems to be running in the background.

These are my settings:

    lspconfig.pylsp.setup {
      capabilities = capabilities,
      settings = {
        pylsp = {
          plugins = {
            autopep8 = { enabled = false },
            flake8 = { enabled = false },
            mccabe = { enabled = false },
            pycodestyle = { enabled = false },
            pydocstyle = { enabled = false },
            pyflakes = { enabled = false },
            pylint = { enabled = false },
            pylsp_mypy = {
              dmypy = true,
              enabled = true,
              live_mode = false,
            },
            yapf = { enabled = false },
          }
        }
      }
    }

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