We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08b39f6 commit b39a9a1Copy full SHA for b39a9a1
lua/plugins/config/lsp/servers.lua
@@ -61,14 +61,23 @@ function M.get_servers()
61
},
62
63
-- Python Language Server
64
- pyright = {
+ basedpyright = {
65
settings = {
66
- python = {
67
analysis = {
68
autoSearchPaths = true,
69
diagnosticMode = 'openFilesOnly',
70
+ typeCheckingMode = 'standard',
71
useLibraryCodeForTypes = true,
- typeCheckingMode = 'basic',
72
+
73
+ diagnosticSeverityOverrides = {
74
+ reportOptionalCall = 'none',
75
+ reportOptionalSubscript = 'none',
76
+ reportAttributeAccessIssue = 'none',
77
+ reportUnknownMemberType = 'warning',
78
+ reportUnknownVariableType = 'warning',
79
+ reportUnknownAssignmentType = 'warning',
80
+ },
81
82
83
0 commit comments