Use flake8 instead of py{code,doc}style in pylsp

This commit is contained in:
Adam Goldsmith 2021-06-17 22:16:35 -04:00
parent 4a4fe4e62a
commit 0385b3ff35

View File

@ -581,10 +581,13 @@
(use-package lsp-mode (use-package lsp-mode
:hook ((python-mode html-mode web-mode css-mode js2-mode typescript-mode java-mode) . lsp) :hook ((python-mode html-mode web-mode css-mode js2-mode typescript-mode java-mode) . lsp)
:config :config
(setq lsp-prefer-flymake nil) (setq lsp-prefer-flymake nil
lsp-inhibit-message t
(setq lsp-inhibit-message t lsp-eldoc-render-all nil
lsp-eldoc-render-all nil) lsp-pylsp-plugins-jedi-use-pyenv-environment t
lsp-pylsp-plugins-pycodestyle-enabled nil
lsp-pylsp-plugins-pydocstyle-enabled nil
lsp-pylsp-plugins-flake8-enabled t)
(use-package company-lsp :ensure (use-package company-lsp :ensure
:config :config