Use flycheck instead of flymake for Python

Not sure whether this configuration will actually work in all cases, but it's a
start.
This commit is contained in:
Daniel - 2020-07-12 12:54:54 +02:00
parent 7b5648730b
commit 1252023886
No known key found for this signature in database
GPG Key ID: 1C7071A75BB72D64
1 changed files with 3 additions and 1 deletions

View File

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