diff --git a/init.el b/init.el index 225b6d0..01ad07a 100644 --- a/init.el +++ b/init.el @@ -953,8 +953,8 @@ Try `magit-clone-default-directory' if available, fall back to :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 isort))) - (add-to-list 'apheleia-mode-alist '(python-ts-mode . (ruff isort)))) + (add-to-list 'apheleia-mode-alist '(python-mode . (black isort))) + (add-to-list 'apheleia-mode-alist '(python-ts-mode . (black isort)))) (use-package flymake :bind (("C-c C-." . flymake-goto-next-error) @@ -991,10 +991,6 @@ Try `magit-clone-default-directory' if available, fall back to :after flymake :hook (js-ts-mode . flymake-eslint-enable)) -(use-package flymake-ruff - :after flymake - :hook (python-base-mode . flymake-ruff-load)) - (setq project-switch-use-entire-map t project-switch-commands '((project-find-file "Find file") (project-find-regexp "Find regexp") @@ -1056,12 +1052,9 @@ Try `magit-clone-default-directory' if available, fall back to (use-package python :defer t :custom - (python-check-command (cond ((executable-find "ruff") - "ruff check --output-format=pylint") - ((executable-find "pyflakes") - "pyflakes") - ((executable-find "epylint") - "epylint") + (python-check-command (cond ((executable-find "ruff") "ruff check --output-format=pylint") + ((executable-find "pyflakes") "pyflakes") + ((executable-find "epylint") "epylint") (t "pyflakes"))) :config (setq python-ts-mode-hook python-mode-hook) @@ -1129,9 +1122,8 @@ Try `magit-clone-default-directory' if available, fall back to message-sendmail-extra-arguments '("--read-envelope-from") message-auto-save-directory nil message-kill-buffer-on-exit t - mail-user-agent 'mu4e-user-agent) - -(set-variable read-mail-command 'mu4e) + mail-user-agent 'mu4e-user-agent + read-mail-command 'mu4e) (use-package mu4e :bind