emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/flymake-collection 7ea9fb2ea1 70/89: checkers: Fix ruff co


From: ELPA Syncer
Subject: [nongnu] elpa/flymake-collection 7ea9fb2ea1 70/89: checkers: Fix ruff command interface has changed
Date: Mon, 6 Jan 2025 19:00:13 -0500 (EST)

branch: elpa/flymake-collection
commit 7ea9fb2ea12d51a0baec304f05e3ba29d9cf002a
Author: Mohsin Kaleem <mohkale@kisara.moe>
Commit: Mohsin Kaleem <mohkale@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

[Prev in Thread] Current Thread [Next in Thread]