Fix flycheck for Python.

This commit is contained in:
Julien Palard 2021-09-29 23:06:35 +02:00
parent 8e2099b935
commit bdbc8c403e
Signed by: mdk
GPG Key ID: 0EFC1AC1006886F8
1 changed files with 4 additions and 4 deletions

View File

@ -63,13 +63,13 @@
(add-to-list 'lsp-disabled-clients 'pyls)
))
;; Test using flycheck-verify-setup
(use-package flycheck
:after python-mode
:ensure t
:config
(global-flycheck-mode)
(global-flycheck-mode t)
(setq-default flycheck-disabled-checkers '(lsp))
(add-hook 'python-mode-hook (setq flycheck-checker 'python-flake8))
)
(add-hook 'python-mode-hook (setq flycheck-checker 'python-flake8)))
(use-package blacken
:ensure t