Skip to content

Commit

Permalink
checkers: Fix ruff command interface has changed
Browse files Browse the repository at this point in the history
CLOSES #29
  • Loading branch information
mohkale committed Dec 26, 2023
1 parent b89ab5c commit 7ea9fb2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/checkers/flymake-collection-ruff.el
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ See URL `https://github.com/charliermarsh/ruff'."
(error "Cannot find ruff executable"))
:write-type 'pipe
:command `(,ruff-exec
"--format" "json"
"check"
"--output-format" "json"
,@flymake-collection-ruff-args
,@(when-let ((file (buffer-file-name flymake-collection-source)))
(list "--stdin-filename" file))
Expand Down

0 comments on commit 7ea9fb2

Please sign in to comment.