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, + }, + }, }, }, },