From c7f279759c068fc5135398814d93f755ff9dfd2e Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Wed, 27 Mar 2024 05:51:16 +0000 Subject: [PATCH] Add ruff-isort to apheleia formatter steps for python --- config/ide.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/ide.org b/config/ide.org index 2ca16cd..a919d0d 100644 --- a/config/ide.org +++ b/config/ide.org @@ -115,8 +115,8 @@ Set treesit to fontify all elements, default was 3 (out of 4) :config (add-to-list 'apheleia-formatters '(alejandra . ("alejandra"))) (add-to-list 'apheleia-mode-alist '(nix-mode . alejandra)) - (add-to-list 'apheleia-mode-alist '(python-mode . ruff)) - (add-to-list 'apheleia-mode-alist '(python-ts-mode . ruff))) + (add-to-list 'apheleia-mode-alist '(python-mode . (ruff ruff-isort))) + (add-to-list 'apheleia-mode-alist '(python-ts-mode . (ruff ruff-isort)))) #+end_src * Flymake #+begin_src emacs-lisp :tangle yes