-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix LSP-ruff just doesn't work for new installation #62
Conversation
Signed-off-by: Jack Cherng <jfcherng@gmail.com>
I just did a fresh install of sublime text and installed LSP-ruff (v1.1) from April 19, 2024 - and ruff is not working for me :( These are the versions of the libraries installed: How do I fix this directly? Do I have to wait for the merge? Thanks! |
Your combination should work. I don't know why yours is 0.0.54 though. LSP-ruff pins |
Thanks for the reply! I see this in the console:
I removed the cache folder and also uninstalled and re-installed lsp-ruff, but it keeps install 0.5.0 Is there any way of not having it reference the cache, and forcing it to update to a different version |
It looks like you don't know how to override a plugin file with your own. You basically use the same filesystem struct but in |
Thanks for the reply! To clarify, I should add a requirements.txt file here:
How does this get installed? And how will the It's currently loading ruff from the cache:
Thanks! |
You can delete the whole |
Description
LSP-ruff at this moment just doesn't do any diagnosis for people who install LSP-ruff now because for a new user, LSP-ruff will install
ruff-lsp==0.0.52
andruff==0.5.0
but they don't work together.The
ruff <path>
usage has been removed in ruff 0.5.0: https://github.com/astral-sh/ruff/releases/tag/0.5.0Reproduction
You can remove LSP-ruff and reinstall it. Then supposedly the installed
ruff
will be bumped up to0.5.0
(andruff-lsp
will hit`ruff <path>` has been removed.
).