1

I'm having issues with setting up ale and pyright.

According to the documentation on both repos, everything should work out of the box, but that doesn't seem to be the case for me. I'm guessing it's another plugin causing issues, but I'm not sure.

The issue I have is that when I do :ALEInfo, I see "enabled" and "ignored" linters like this:

  Enabled Linters: ['flake8', 'mypy', 'pylint', 'pyright']
  Ignored Linters: ['pyright']

I tried using the "explicit" mode for ALE by doing something like this:

let g:ale_linters_explicit = 1
let g:ale_linters = {
      \ 'python': ['pyright', 'mypy'],
      \ }

But then, I'd still get:

  Enabled Linters: ['mypy', 'pyright']
  Ignored Linters: ['pyright']

So, I'm wondering why is pyright being ignored?

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.