1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2024-12-23 19:36:47 +00:00
dotfiles/.config/nvim/lua/plugins/lsp/settings/basedpyright.lua

21 lines
531 B
Lua

return {
settings = {
basedpyright = {
analysis = {
autoSearchPaths = true,
useLibraryCodeForTypes = true,
autoImportCompletions = true,
diagnosticsMode = "openFilesOnly", -- workspace, openFilesOnly
typeCheckingMode = "standard", -- off, basic, standard, strict, all
diagnosticSeverityOverrides = {
-- reportAny = true
reportOptionalIterable = "warning",
reportArgumentType = "warning",
reportAssignmentType = "warning",
reportIndexIssue = "warning",
},
},
},
},
}