Fix flycheck configuration for Python
This commit is contained in:
parent
7f68263a85
commit
418ddd58a5
6
init.el
6
init.el
@ -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))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user