2024-03-22 16:21:22 +00:00
|
|
|
return {
|
|
|
|
settings = {
|
|
|
|
basedpyright = {
|
|
|
|
analysis = {
|
|
|
|
autoSearchPaths = true,
|
|
|
|
useLibraryCodeForTypes = true,
|
|
|
|
autoImportCompletions = true,
|
|
|
|
diagnosticsMode = "openFilesOnly", -- workspace, openFilesOnly
|
2024-04-13 17:24:34 +00:00
|
|
|
typeCheckingMode = "standard", -- off, basic, standard, strict, all
|
2024-03-22 16:21:22 +00:00
|
|
|
diagnosticSeverityOverrides = {
|
2024-04-13 17:24:34 +00:00
|
|
|
-- reportAny = true
|
|
|
|
reportOptionalIterable = "warning",
|
|
|
|
reportArgumentType = "warning",
|
2024-04-22 14:19:02 +00:00
|
|
|
reportAssignmentType = "warning",
|
2024-05-12 11:09:32 +00:00
|
|
|
reportIndexIssue = "warning",
|
2024-03-22 16:21:22 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|