trying basedpyright

This commit is contained in:
dlond 2025-09-06 20:19:30 +12:00 committed by Daniel Lond
parent 08b39f6114
commit b39a9a1b72
1 changed files with 12 additions and 3 deletions

View File

@ -61,14 +61,23 @@ function M.get_servers()
}, },
-- Python Language Server -- Python Language Server
pyright = { basedpyright = {
settings = { settings = {
python = { basedpyright = {
analysis = { analysis = {
autoSearchPaths = true, autoSearchPaths = true,
diagnosticMode = 'openFilesOnly', diagnosticMode = 'openFilesOnly',
typeCheckingMode = 'standard',
useLibraryCodeForTypes = true, useLibraryCodeForTypes = true,
typeCheckingMode = 'basic',
diagnosticSeverityOverrides = {
reportOptionalCall = 'none',
reportOptionalSubscript = 'none',
reportAttributeAccessIssue = 'none',
reportUnknownMemberType = 'warning',
reportUnknownVariableType = 'warning',
reportUnknownAssignmentType = 'warning',
},
}, },
}, },
}, },