From 4b30d6939214a4ee14953a22db4263d652701622 Mon Sep 17 00:00:00 2001 From: Zanie Date: Fri, 6 Oct 2023 19:04:35 -0500 Subject: [PATCH] Use `--output-format` instead of `--format` --- ruff_lsp/server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ruff_lsp/server.py b/ruff_lsp/server.py index e19cb66..540e53b 100755 --- a/ruff_lsp/server.py +++ b/ruff_lsp/server.py @@ -121,7 +121,7 @@ class VersionModified(NamedTuple): "--no-cache", "--no-fix", "--quiet", - "--format", + "--output-format", "json", "-", ] @@ -155,7 +155,7 @@ class VersionModified(NamedTuple): "--watch", # Arguments that are not supported at all, and will error when provided. # "--stdin-filename", - # "--format", + # "--output-format", ] # Arguments that are not allowed to be passed to `ruff format`.