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

Avoid passing --preview flag for stable ruff server #535

Merged
merged 1 commit into from
Jul 18, 2024

Conversation

dhruvmanila
Copy link
Member

Summary

This PR updates the logic to avoid passing the --preview flag to the ruff server command when the Ruff version contains the stabilized server.

Test Plan

I build the latest main from https://github.com/astral-sh/ruff which now removes the requirement of --preview flag and updated the NATIVE_SERVER_STABLE_VERSION flag in the extension to use 0.5.2 instead.

I checked the log messages to see when it's passing the --preview flag.

@dhruvmanila dhruvmanila merged commit 357c71b into main Jul 18, 2024
6 checks passed
@dhruvmanila dhruvmanila deleted the dhruv/preview-flag branch July 18, 2024 06:44
@dhruvmanila
Copy link
Member Author

I'm going to do the same at https://github.com/neovim/nvim-lspconfig once the new version is released.

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