Skip to content

Commit 85c288b

Browse files
authored
Fix of maxComplexity and line_length fields
1 parent bc1095f commit 85c288b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

pylsp/config/schema.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,10 @@
9191
"description": "List of errors and warnings to ignore (or skip)."
9292
},
9393
"pylsp.plugins.flake8.maxComplexity": {
94-
"type": "integer",
94+
"type": [
95+
"integer",
96+
"null"
97+
],
9598
"default": null,
9699
"description": "Maximum allowed complexity threshold."
97100
},
@@ -536,7 +539,7 @@
536539
"description": "Include signature docstring."
537540
},
538541
"pylsp.signature.line_length": {
539-
"type": "number",
542+
"type": "integer",
540543
"default": 88,
541544
"description": "Maximum line length in signatures."
542545
}

0 commit comments

Comments
 (0)