2025-02-12 11:49:02 +01:00
|
|
|
return {
|
|
|
|
cmd = { 'basedpyright-langserver', '--stdio' },
|
|
|
|
filetypes = { 'python' },
|
2025-02-13 09:04:17 +01:00
|
|
|
root_markers = { 'pyproject.toml' },
|
2025-02-12 11:49:02 +01:00
|
|
|
settings = {
|
|
|
|
basedpyright = {
|
|
|
|
disableOrganizeImports = true,
|
|
|
|
analysis = {
|
|
|
|
autoSearchPaths = true,
|
|
|
|
useLibraryCodeForTypes = true,
|
|
|
|
diagnosticMode = 'openFilesOnly',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|