Skip to content

Commit

Permalink
Use --output-format instead of --format
Browse files Browse the repository at this point in the history
  • Loading branch information
zanieb committed Oct 7, 2023
1 parent e8076f5 commit 4b30d69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ruff_lsp/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ class VersionModified(NamedTuple):
"--no-cache",
"--no-fix",
"--quiet",
"--format",
"--output-format",
"json",
"-",
]
Expand Down Expand Up @@ -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`.
Expand Down

0 comments on commit 4b30d69

Please sign in to comment.