ruff-lsp
is deprecated; please upgrade to the native language server (ruff server
)
#15991
Replies: 9 comments 25 replies
-
I have this in my VScode "ruff.lint.args": [ "--unfixable=F841,T201"] I tried ctrl+space, copilot, migration guide, but couldn't figure it out. Sorry! |
Beta Was this translation helpful? Give feedback.
-
I am currently using ruff only by way of the official Ruff extension in VScode and fully configured in settings.json. I have looked at the ruff extension docs and the setup and migration guides but despite that it's not exactly clear to me how I should move to the 'native' ruff server and how I should migrate the settings I've built up over the years. In general, I'd appreciate it if we could have some stability and predictability in configuring Python extensions. While I'm waiting for this mist to clear: is there a way to suppress the ruff-lsp deprecation warning? |
Beta Was this translation helpful? Give feedback.
-
Okay, here's a puzzle that I don't see how to fix with the new settings. I have the following in VSCode settings: "ruff.lint.args": [
"--extend-select=DJ001,INP001,ANN201",
"--config",
"lint.flake8-annotations.ignore-fully-untyped=false"
] because I want to see squiggles in VSCode for the flake8 untyped functions, and, at the same time, I have this in my [lint.flake8-annotations]
ignore-fully-untyped = true How do I fix this? |
Beta Was this translation helpful? Give feedback.
-
I find the warning displayed in vscode very cryptic. My language server is set to "Pylance", and I only use ruff for formatting. I honestly have no clue why I'm seeing this warning at all or how to get rid of it. The setup guide pretty much just says to install the ruff extension and that's it. I can't find any useful information anywhere. |
Beta Was this translation helpful? Give feedback.
-
both of my vscode and ruff are on the latest version, but still got the warning, and don't know how to confirm I'm using In other words, how to not use Tried to add
|
Beta Was this translation helpful? Give feedback.
-
Thanks for the update. Please don't remove the old lsp before these issues with the new server astral-sh/ruff-vscode#593 and astral-sh/ruff-vscode#680 are fixed. |
Beta Was this translation helpful? Give feedback.
-
Will you support more settings that can be set directly in the editor? For example, quote style, as well as the line length setting? I use three devices, so synchronizing these settings across all devices can be very helpful to me and those who also work on multiple devices. |
Beta Was this translation helpful? Give feedback.
-
Hi, I just saw this message pop up: I was hoping that I can click one of the links and then, I know what to do to remove the message. What I did is uninstall and install of the plugin and I was hoping that then disables the message but it does not - it just should go ahead with a new config. I sadly do not have the head space at the moment to skip though discussions to see what I should do. I will disable this message now and care for it when the next message says that something is actually broken. Then, I will uninstall the plugin again, install it and hope that that solves the problem - it working with the correct default parameters. |
Beta Was this translation helpful? Give feedback.
-
Hello. The only setting I use (in VSCode) is |
Beta Was this translation helpful? Give feedback.
-
Hey everyone,
ruff-lsp
is marked as deprecated with the upcoming Ruff release, it will be archived with the release of Ruff 0.11. We suggest everyone to upgrade to the native server (⚡ruff server
⚡).ruff server
supports the same feature set asruff-lsp
, but with superior performance and no installation required. It was first released in Ruffv0.3.5
, announced as beta in Ruff 0.4.5 and marked as stable in Ruff 0.5.3.Refer to the setup guide on how to set up the native language server for multiple editors and the migration guide on how to migrate the deprecated settings.
If you're unable to upgrade to the native server, feel free to comment on this discussion so that we can help.
Beta Was this translation helpful? Give feedback.
All reactions