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
pyright = {
basedpyright = {
settings = {
python = {
basedpyright = {
analysis = {
autoSearchPaths = true,
diagnosticMode = 'openFilesOnly',
typeCheckingMode = 'standard',
useLibraryCodeForTypes = true,
typeCheckingMode = 'basic',
diagnosticSeverityOverrides = {
reportOptionalCall = 'none',
reportOptionalSubscript = 'none',
reportAttributeAccessIssue = 'none',
reportUnknownMemberType = 'warning',
reportUnknownVariableType = 'warning',
reportUnknownAssignmentType = 'warning',
},
},
},
},