From 9e517b90a86553cd9aec68653ea962d219ea63a4 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Thu, 25 Jan 2024 11:24:09 +0000 Subject: [PATCH] eglot: pylsp enable extra error codes for ruff --- README.org | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.org b/README.org index 22476a3..5255d96 100644 --- a/README.org +++ b/README.org @@ -795,7 +795,13 @@ Set treesit to fontify all elements, default was 3 (out of 4) ( :check (:command "clippy") :procMacro (:enable t) :cargo ( :buildScripts (:enable t) - :features "all")))))) + :features "all"))))) + (add-to-list 'eglot-server-programs + `((python-ts-mode python-mode) + . ("pylsp" + :initializationOptions + ( :pylsp ( :plugins ( :ruff ( :enabled t + :extendSelect ["I" "W" "C901"])))))))) #+end_src ** Apheleia formatting