1

Fix flycheck configuration for Python

This commit is contained in:
Jessie Hildebrandt 2019-10-01 02:26:29 -04:00
parent 7f68263a85
commit 418ddd58a5

View File

@ -415,11 +415,13 @@
;; Load FlyCheck ;; Load FlyCheck
(use-package flycheck (use-package flycheck
:requires
(pkg-info)
:hook :hook
(prog-mode . flycheck-mode) (prog-mode . flycheck-mode)
(c++-mode-hook . (lambda () (setq flycheck-clang-standard "c++17"))) (c++-mode-hook . (lambda () (setq flycheck-clang-standard "c++17")))
:custom
(flycheck-python-flake8-executable "flake8")
(flycheck-python-pylint-executable "pylint")
(flycheck-python-mypy-executable "mypy")
:bind :bind
("C-c e" . flycheck-list-errors)) ("C-c e" . flycheck-list-errors))