From 486fd53d6e606f4abd5442f7bf474894118e1a58 Mon Sep 17 00:00:00 2001 From: Dominic Date: Sun, 23 Mar 2025 16:12:57 -0400 Subject: [PATCH] ignore pep8 stuff with pylsp --- init.lua | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/init.lua b/init.lua index 19ffa9d..9cff04d 100644 --- a/init.lua +++ b/init.lua @@ -664,10 +664,21 @@ require("lazy").setup({ -- clangd = {}, -- gopls = {}, pylsp = { - plugins = { - pycodestyle = { - ignore = { "W391" }, - maxLineLength = 100, + settings = { + pylsp = { + configurationSources = { "flake8" }, + plugins = { + flake8 = { + enabled = true, + ignore = { "W391", "W293", "E501" }, + maxLineLength = 1000, + }, + pycodestyle = { + enabled = true, + ignore = { "W391", "W293", "E501" }, + maxLineLength = 100, + }, + }, }, }, },