ignore pep8 stuff with pylsp

This commit is contained in:
Dominic 2025-03-23 16:12:57 -04:00
parent 39f0309495
commit 486fd53d6e

View File

@ -664,13 +664,24 @@ require("lazy").setup({
-- clangd = {}, -- clangd = {},
-- gopls = {}, -- gopls = {},
pylsp = { pylsp = {
settings = {
pylsp = {
configurationSources = { "flake8" },
plugins = { plugins = {
flake8 = {
enabled = true,
ignore = { "W391", "W293", "E501" },
maxLineLength = 1000,
},
pycodestyle = { pycodestyle = {
ignore = { "W391" }, enabled = true,
ignore = { "W391", "W293", "E501" },
maxLineLength = 100, maxLineLength = 100,
}, },
}, },
}, },
},
},
-- rust_analyzer = {}, -- rust_analyzer = {},
-- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs -- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
-- --