From 662846fd2568ef165570d49bc2d94db1b7b935dd Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Fri, 22 Mar 2024 15:42:57 +0000 Subject: [PATCH] Add ruff back as python formatter --- config/ide.org | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/ide.org b/config/ide.org index 5e7bc09..ce90d2e 100644 --- a/config/ide.org +++ b/config/ide.org @@ -116,7 +116,9 @@ Set treesit to fontify all elements, default was 3 (out of 4) :custom (apheleia-remote-algorithm 'local) :config (add-to-list 'apheleia-formatters '(alejandra . ("alejandra"))) - (add-to-list 'apheleia-mode-alist '(nix-mode . 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))) #+end_src * Flymake #+begin_src emacs-lisp :tangle yes