stricter python lsp

This commit is contained in:
2026-11-30 21:41:28 +01:00
parent 467450029d
commit c2bd4d9468
@@ -110,6 +110,7 @@ local servers = {
settings = {
basedpyright = {
analysis = {
typeCheckingMode = "strict",
diagnosticSeverityOverrides = {
reportUnannotatedClassAttribute = "none",
reportAny = "none",
@@ -126,6 +127,9 @@ local servers = {
init_options = {
settings = {
lineLength = 79,
lint = {
extendSelect = { "ANN2" }, -- Missing return annotations.
},
},
},
},