1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2024-11-14 15:51:13 +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",
},
},
},
},
}