8000 add subcommand to ruff call · python-lsp/python-lsp-ruff@1dd2b83 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1dd2b83

Browse files
committed
add subcommand to ruff call
1 parent c018265 commit 1dd2b83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pylsp_ruff/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ def run_ruff(
514514
if executable is not None:
515515
log.debug(f"Calling {executable} with args: {arguments} on '{document_path}'")
516516
try:
517-
cmd = [executable]
517+
cmd = [executable, str(subcommand)]
518518
cmd.extend(arguments)
519519
p = Popen(cmd, stdin=PIPE, stdout=PIPE, stderr=PIPE)
520520
except Exception:

0 commit comments

Comments
 (0)
0