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