Fix flycheck for Python.
This commit is contained in:
parent
8e2099b935
commit
bdbc8c403e
|
@ -63,13 +63,13 @@
|
||||||
(add-to-list 'lsp-disabled-clients 'pyls)
|
(add-to-list 'lsp-disabled-clients 'pyls)
|
||||||
))
|
))
|
||||||
|
|
||||||
|
;; Test using flycheck-verify-setup
|
||||||
(use-package flycheck
|
(use-package flycheck
|
||||||
:after python-mode
|
:ensure t
|
||||||
:config
|
:config
|
||||||
(global-flycheck-mode)
|
(global-flycheck-mode t)
|
||||||
(setq-default flycheck-disabled-checkers '(lsp))
|
(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
|
(use-package blacken
|
||||||
:ensure t
|
:ensure t
|
||||||
|
|
Loading…
Reference in New Issue