From 418ddd58a59fecb638957037f1dffe79fa1b540f Mon Sep 17 00:00:00 2001 From: Jessie Hildebrandt Date: Tue, 1 Oct 2019 02:26:29 -0400 Subject: [PATCH] Fix flycheck configuration for Python --- init.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/init.el b/init.el index 2d39c73..7a70222 100644 --- a/init.el +++ b/init.el @@ -415,11 +415,13 @@ ;; Load FlyCheck (use-package flycheck - :requires - (pkg-info) :hook (prog-mode . flycheck-mode) (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 ("C-c e" . flycheck-list-errors))