ignore pep8 stuff with pylsp
This commit is contained in:
parent
39f0309495
commit
486fd53d6e
19
init.lua
19
init.lua
@ -664,10 +664,21 @@ require("lazy").setup({
|
|||||||
-- clangd = {},
|
-- clangd = {},
|
||||||
-- gopls = {},
|
-- gopls = {},
|
||||||
pylsp = {
|
pylsp = {
|
||||||
plugins = {
|
settings = {
|
||||||
pycodestyle = {
|
pylsp = {
|
||||||
ignore = { "W391" },
|
configurationSources = { "flake8" },
|
||||||
maxLineLength = 100,
|
plugins = {
|
||||||
|
flake8 = {
|
||||||
|
enabled = true,
|
||||||
|
ignore = { "W391", "W293", "E501" },
|
||||||
|
maxLineLength = 1000,
|
||||||
|
},
|
||||||
|
pycodestyle = {
|
||||||
|
enabled = true,
|
||||||
|
ignore = { "W391", "W293", "E501" },
|
||||||
|
maxLineLength = 100,
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user