Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Summary This PR adds a deprecation warning during the initialization request if the `ruff` executable found is `>= 0.3.5`. Refer to #520 (comment) for the discussion. ### Preview **VS Code** It'll provide a warning notification along with logging the message: <img width="2560" alt="Screenshot 2025-02-03 at 11 21 29 AM" src="https://github.com/user-attachments/assets/3745399a-ea7c-4f74-9d6f-689ecbd435b5" /> **Neovim** It seems like Neovim has already deprecated `ruff_lsp` if the user is using [`nvim-lspconfig`](https://github.com/neovim/nvim-lspconfig) (which should be most of the users): <img width="546" alt="Screenshot 2025-02-03 at 11 31 50 AM" src="https://github.com/user-attachments/assets/59f70e2b-a95e-4022-be61-d87a276a1a93" /> But, regardless, the users should receive the warning if they've configured it to do so: <img width="1280" alt="Screenshot 2025-02-03 at 11 30 54 AM" src="https://github.com/user-attachments/assets/c824ee80-f836-4dba-8515-694f8b4b6048" />
- Loading branch information