Add ruff back as python formatter

This commit is contained in:
Evie Litherland-Smith 2024-03-22 15:42:57 +00:00
parent 84998e80aa
commit 662846fd25

View file

@ -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