Add ruff back as python formatter (but without isort)

This commit is contained in:
Evie Litherland-Smith 2024-11-29 10:22:12 +00:00
parent 444e411564
commit 470f450cbd

View file

@ -1380,7 +1380,10 @@ Configure email with iCalendar event support, to integrate with
apheleia-mode-alist)
:bind (("C-c c f" . apheleia-format-buffer))
:hook (prog-mode)
:custom (apheleia-remote-algorithm 'local))
:custom (apheleia-remote-algorithm 'local)
:config
(add-to-list 'apheleia-mode-alist '(python-ts-mode . (ruff)))
(add-to-list 'apheleia-mode-alist '(python-mode . (ruff))))
(use-package flymake
:bind (("C-c C-." . flymake-goto-next-error)