From 12520238861f2cdcdee3ff7535792253bdf390be Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sun, 12 Jul 2020 12:54:54 +0200 Subject: [PATCH] Use flycheck instead of flymake for Python Not sure whether this configuration will actually work in all cases, but it's a start. --- init.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index de63c5c..eb1d44e 100644 --- a/init.el +++ b/init.el @@ -2503,12 +2503,14 @@ With given ARG, display files in `db/important-document-path’." (add-hook 'python-mode-hook #'(lambda () (add-to-list 'company-backends 'company-jedi))) + (add-hook 'python-mode-hook #'flycheck-mode) (elpy-enable))) (use-package elpy :ensure t - :commands (elpy-enable)) + :commands (elpy-enable) + :config (setq elpy-modules (delq 'elpy-module-flymake elpy-modules))) ;; * Various Mode Configurations