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
1 changed files with 7 additions and 4 deletions

View File

@ -581,10 +581,13 @@
(use-package lsp-mode
:hook ((python-mode html-mode web-mode css-mode js2-mode typescript-mode java-mode) . lsp)
:config
(setq lsp-prefer-flymake nil)
(setq lsp-inhibit-message t
lsp-eldoc-render-all nil)
(setq lsp-prefer-flymake nil
lsp-inhibit-message t
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
:config