diff --git a/CONFIGURATION.md b/CONFIGURATION.md index 53d3b2f1..5a5a228d 100644 --- a/CONFIGURATION.md +++ b/CONFIGURATION.md @@ -78,6 +78,6 @@ This server can be configured using the `workspace/didChangeConfiguration` metho | `pylsp.rope.ropeFolder` | `array` of unique `string` items | The name of the folder in which rope stores project configurations and data. Pass `null` for not using such a folder at all. | `null` | | `pylsp.signature.formatter` | `string` (one of: `'black'`, `'ruff'`, `None`) | Formatter to use for reformatting signatures in docstrings. | `"black"` | | `pylsp.signature.include_docstring` | `boolean` | Include signature docstring. | `true` | -| `pylsp.signature.line_length` | `number` | Maximum line length in signatures. | `88` | +| `pylsp.signature.line_length` | `integer` | Maximum line length in signatures. | `88` | This documentation was generated from `pylsp/config/schema.json`. Please do not edit this file directly. diff --git a/pylsp/config/schema.json b/pylsp/config/schema.json index 67289d96..e14daa20 100644 --- a/pylsp/config/schema.json +++ b/pylsp/config/schema.json @@ -91,7 +91,10 @@ "description": "List of errors and warnings to ignore (or skip)." }, "pylsp.plugins.flake8.maxComplexity": { - "type": "integer", + "type": [ + "integer", + "null" + ], "default": null, "description": "Maximum allowed complexity threshold." }, @@ -536,7 +539,7 @@ "description": "Include signature docstring." }, "pylsp.signature.line_length": { - "type": "number", + "type": "integer", "default": 88, "description": "Maximum line length in signatures." }