branch: elpa/flymake-collection
commit 7ea9fb2ea12d51a0baec304f05e3ba29d9cf002a
Author: Mohsin Kaleem <mohk...@kisara.moe>
Commit: Mohsin Kaleem <mohk...@kisara.moe>

    checkers: Fix ruff command interface has changed
    
    CLOSES #29
---
 src/checkers/flymake-collection-ruff.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/checkers/flymake-collection-ruff.el 
b/src/checkers/flymake-collection-ruff.el
index d7f60cac82..d7447540b2 100644
--- a/src/checkers/flymake-collection-ruff.el
+++ b/src/checkers/flymake-collection-ruff.el
@@ -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))

Reply via email to