trying basedpyright
This commit is contained in:
parent
08b39f6114
commit
b39a9a1b72
|
@ -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',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue