From 0385b3ff35359404d9a9b18877ca70aa87ea4549 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Thu, 17 Jun 2021 22:16:35 -0400 Subject: [PATCH] Use flake8 instead of py{code,doc}style in pylsp --- .emacs.d/init.el | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index c1a1c15..8a216c5 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -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