-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
**Summary** ruff-lsp will crash on start rather than behave weirdly when there is a too low `ruff` version Fixes astral-sh/ruff#7408 I've bump the minimum to 0.0.291 due to the formatter changes, but also allowed 0.1 already since it should be compatible (CC @zanieb). When the error occurs in vs-code, we show a little pop-up with a full traceback in the log: ![image](https://github.com/astral-sh/ruff-lsp/assets/6826232/e4c72e08-0b2f-4b8c-9985-b51785b4a7a2) There's duplication because we both show the error and don't catch the exception. **Test Plan** I've tested this by using 0.0.290, which works with the linter by errors with the formatter
- Loading branch information
Showing
6 changed files
with
100 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters