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:
parent
7b5648730b
commit
1252023886
4
init.el
4
init.el
|
@ -2503,12 +2503,14 @@ With given ARG, display files in `db/important-document-path’."
|
||||||
(add-hook 'python-mode-hook
|
(add-hook 'python-mode-hook
|
||||||
#'(lambda ()
|
#'(lambda ()
|
||||||
(add-to-list 'company-backends 'company-jedi)))
|
(add-to-list 'company-backends 'company-jedi)))
|
||||||
|
(add-hook 'python-mode-hook #'flycheck-mode)
|
||||||
|
|
||||||
(elpy-enable)))
|
(elpy-enable)))
|
||||||
|
|
||||||
(use-package elpy
|
(use-package elpy
|
||||||
:ensure t
|
:ensure t
|
||||||
:commands (elpy-enable))
|
:commands (elpy-enable)
|
||||||
|
:config (setq elpy-modules (delq 'elpy-module-flymake elpy-modules)))
|
||||||
|
|
||||||
|
|
||||||
;; * Various Mode Configurations
|
;; * Various Mode Configurations
|
||||||
|
|
Loading…
Reference in New Issue