Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
URL: http://github.com/python-lsp/python-lsp-server/discussions/681
ous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-6e7804aa12292212.css" />
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I have a doubt that is rather a configuration issue. I do not think it is a bug, but I'm puzzled and I was wondering if anyone could help to debug the issue.
In a nutshell, the problem is as the title says. I have installed python-lsp-server together with python-lsp-ruff. I'm using as client the ALE plugin of Vim (I do not think this is itself important, but I say it to give the complete background).
Now, I setup ALE to get linting hits from pylsp
I have also disabled anything but ruff for linting:
I'm running Vim from an environment where both pylsp and ruff are reachable.
However, when I type "wrong python code", I get no linting whatsoever. The output of
ALEInfoseems correct:To make things even more confusing, I have been able to setup this exactly equal in my laptop and it does work as expected, with pylsp serving correct linting hints from running ruff in the background.
What could be causing the miscommunication in this machine? How can I test intermediate steps to assert what is the missing link?
EDIT: there are a few more pieces of information that might be relevant but I'm not sure how to interpret:
Thank you!
PS: I apologise if this is not the right forum to ask. I believe python-lsp-server is the core issue, but perhaps ALE or even ruff is the problem. If you think this might be the case, I'm sorry and I'll move my question somewhere else.
Beta Was this translation helpful? Give feedback.
All reactions