Merge pull request 'replace pyright with basedpyright' (#18) from use-basedpyright into main

Reviewed-on: #18
This commit is contained in:
Salar Rahmanian 2024-08-31 09:14:09 -07:00
commit 6e87f6360a

View file

@ -75,13 +75,21 @@ return {
jsonls = {}, jsonls = {},
marksman = {}, marksman = {},
nil_ls = {}, nil_ls = {},
pyright = { basedpyright = {
python = { python = {
analysis = { analysis = {
autoImportCompletions = true, autoImportCompletions = true,
autoSearchPaths = true, autoSearchPaths = true,
diagnosticMode = "openFilesOnly", diagnosticMode = "workspace",
typeCheckingMode = "basic", reportMissingImports = true,
reportMissingParameterType = true,
reportUnnecessaryComparison = true,
reportUnnecessaryContains = true,
reportUnusedClass = true,
reportUnusedFunction = true,
reportUnsedImports = true,
reportUnsusedVariables = true,
typeCheckingMode = "all",
useLibraryCodeForTypes = true, useLibraryCodeForTypes = true,
}, },
}, },