stricter python lsp
This commit is contained in:
@@ -110,6 +110,7 @@ local servers = {
|
|||||||
settings = {
|
settings = {
|
||||||
basedpyright = {
|
basedpyright = {
|
||||||
analysis = {
|
analysis = {
|
||||||
|
typeCheckingMode = "strict",
|
||||||
diagnosticSeverityOverrides = {
|
diagnosticSeverityOverrides = {
|
||||||
reportUnannotatedClassAttribute = "none",
|
reportUnannotatedClassAttribute = "none",
|
||||||
reportAny = "none",
|
reportAny = "none",
|
||||||
@@ -126,6 +127,9 @@ local servers = {
|
|||||||
init_options = {
|
init_options = {
|
||||||
settings = {
|
settings = {
|
||||||
lineLength = 79,
|
lineLength = 79,
|
||||||
|
lint = {
|
||||||
|
extendSelect = { "ANN2" }, -- Missing return annotations.
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user