Skip to content
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

Add deprecation warning for ruff-lsp specific settings #677

Merged
merged 2 commits into from
Feb 6, 2025

Conversation

dhruvmanila
Copy link
Member

@dhruvmanila dhruvmanila commented Jan 31, 2025

Summary

This PR adds the deprecation message to ruff-lsp specific settings and update the README section with a warning message.

There doesn't seem to be any way to show this to the user as the settings are now not visible in the settings UI although they're visible in the JSON viewer:

Screenshot 2025-02-03 at 12 02 50 PM

But, it's not visible in the hover window of the settings:

Screenshot 2025-02-03 at 12 04 05 PM

Deprecation warning

Additionally, the extension will provide a deprecation warning when Ruff version if < 0.3.5. For >= 0.3.5, ruff-lsp will provide the warning (astral-sh/ruff-lsp#520).

Preview of this warning:

Screenshot 2025-02-06 at 5 30 27 PM

@dhruvmanila dhruvmanila marked this pull request as ready for review February 3, 2025 06:35
package.json Show resolved Hide resolved
@dhruvmanila dhruvmanila merged commit 91260bd into main Feb 6, 2025
6 checks passed
@dhruvmanila dhruvmanila deleted the dhruv/deprecate branch February 6, 2025 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants