Only use ruff for apheleia python formatter by default
This commit is contained in:
parent
b88757dde3
commit
62fe4fac6b
6
init.el
6
init.el
|
@ -910,9 +910,9 @@
|
||||||
(add-to-list 'apheleia-formatters '(alejandra . ("alejandra")))
|
(add-to-list 'apheleia-formatters '(alejandra . ("alejandra")))
|
||||||
(add-to-list 'apheleia-formatters '(isort . ("isort" "--profile" "black" "-")))
|
(add-to-list 'apheleia-formatters '(isort . ("isort" "--profile" "black" "-")))
|
||||||
(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-base-mode . (ruff isort)))
|
(add-to-list 'apheleia-mode-alist '(python-base-mode . ruff))
|
||||||
(add-to-list 'apheleia-mode-alist '(python-mode . (ruff isort)))
|
(add-to-list 'apheleia-mode-alist '(python-mode . ruff))
|
||||||
(add-to-list 'apheleia-mode-alist '(python-ts-mode . (ruff isort))))
|
(add-to-list 'apheleia-mode-alist '(python-ts-mode . ruff)))
|
||||||
|
|
||||||
(use-package flymake
|
(use-package flymake
|
||||||
:bind (("C-c C-." . flymake-goto-next-error)
|
:bind (("C-c C-." . flymake-goto-next-error)
|
||||||
|
|
Loading…
Reference in a new issue