coc-pyright: CocCommand workspace.showOutput - coc-pyright-linting doesn't show any logs

My :CocConfig:

{
    // Change all location jump, like jump to definition, in new tab.
    // From https://github.com/neoclide/coc.nvim/issues/318#issuecomment-452488348
    "coc.preferences.jumpCommand": "tab drop",

    // coc-pyright
    "python.linting.banditEnabled": true,
    "python.linting.flake8Enabled": true,
    "python.linting.mypyEnabled": true,
    "python.linting.pydocstyleEnabled": true,
    "python.linting.pylintEnabled": true
}

:CocCommand workspace.showOutput - coc-pyright-linting opens an empty vertical split window. It should show active linter:xxx logs.

I have all the linters installed in my system with pipenv, and I execute pipenv shell before using neovim.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 38 (23 by maintainers)

Most upvoted comments

@gasull @yaegassy coc-pyright can do nothing for shebang-only Python files. Pyright can only find and analyze *.pyi? files. https://github.com/microsoft/pyright/blob/master/packages/pyright-internal/src/analyzer/service.ts#L962

coc-pyright’s custom linting and formatting already support shebang-only Python files.

Yes, coc-python supports shebang-only.