You've already forked dotfiles
32 lines
738 B
Lua
32 lines
738 B
Lua
return {
|
|
cmd = { 'pylsp' },
|
|
filetypes = { 'python' },
|
|
root_markers = {
|
|
'pyproject.toml',
|
|
'setup.py',
|
|
'setup.cfg',
|
|
'requirements.txt',
|
|
'Pipfile',
|
|
'.git',
|
|
},
|
|
settings = {
|
|
pylsp = {
|
|
plugins = {
|
|
pycodestyle = {
|
|
enabled = true,
|
|
ignore = {
|
|
'E501' -- line-too-long
|
|
},
|
|
maxLineLength = 120,
|
|
},
|
|
pylint = {
|
|
enabled = true,
|
|
args = {
|
|
'--disable=line-too-long,import-error',
|
|
},
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|