Skip to content

Commit

Permalink
revert to ruff-lsp
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenfiszel committed Aug 22, 2024
1 parent e5dfe2e commit 2382a7d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion frontend/src/lib/components/Editor.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@
connectToLanguageServer(
`${wsProtocol}://${window.location.host}/ws/ruff`,
'ruff',
{ 'ruff.lint.select': ['E', 'F'], extendSelect: ['I'], 'ruff.logLevel': 'debug' },
{},
undefined
)
} else if (lang === 'go') {
Expand Down
4 changes: 2 additions & 2 deletions lsp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ RUN set -eux; \
ENV PATH="${PATH}:/usr/local/go/bin"
ENV GOBIN=/usr/local/go/bin
RUN /usr/local/go/bin/go install -v golang.org/x/tools/gopls@latest
RUN pip3 install tornado python-lsp-jsonrpc ruff
RUN pip3 install tornado python-lsp-jsonrpc ruff-lsp

COPY --from=denoland/deno:1.45.4 --chmod=755 /usr/bin/deno /usr/bin/deno
COPY --from=denoland/deno:1.46.0 --chmod=755 /usr/bin/deno /usr/bin/deno

COPY Pipfile .

Expand Down
2 changes: 1 addition & 1 deletion lsp/pyls_launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class DiagnosticLS(LanguageServerWebSocketHandler):


class RuffLS(LanguageServerWebSocketHandler):
procargs = ["ruff", "server", "--preview"]
procargs = ["ruff-lsp"]


class DenoLS(LanguageServerWebSocketHandler):
Expand Down

0 comments on commit 2382a7d

Please sign in to comment.