Closed dhruvmanila closed 2 months ago
Note: Do not merge this PR right now, it needs to be clubbed with the 0.5 release mainly to match the behavior with ruff server
.
This is not required now since the noqa_row
field in the JSON output will be null
in case of syntax errors with https://github.com/astral-sh/ruff/pull/11901
Summary
This PR updates the
ruff-lsp
server to avoid generating the "disable for this line" code action forE999
(syntax error). This is a follow-up to https://github.com/astral-sh/ruff/pull/11901 which does the same for the new server.Test Plan
Run it locally and make sure there are no quick fixes in the VS Code menu: