Skip to content

Commit 011882d

Browse files
committed
Fix/update config
1 parent 573eac0 commit 011882d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

CONFIGURATION.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,5 +75,7 @@ This server can be configured using the `workspace/didChangeConfiguration` metho
7575
| `pylsp.plugins.yapf.enabled` | `boolean` | Enable or disable the plugin. | `true` |
7676
| `pylsp.rope.extensionModules` | `string` | Builtin and c-extension modules that are allowed to be imported and inspected by rope. | `null` |
7777
| `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` |
78+
| `pylsp.signature.formatter` | `string` (one of: `'black'`, `'ruff'`, `None`) | Formatter to use for reformatting signatures in docstrings. | `"black"` |
79+
| `pylsp.signature.line_length` | `number` | Maximum line length in signatures. | `88` |
7880

7981
This documentation was generated from `pylsp/config/schema.json`. Please do not edit this file directly.

pylsp/config/schema.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -521,16 +521,14 @@
521521
"black",
522522
"ruff",
523523
null
524-
]
524+
],
525525
"default": "black",
526526
"description": "Formatter to use for reformatting signatures in docstrings."
527527
},
528528
"pylsp.signature.line_length": {
529-
"type": [
530-
"number",
531-
],
529+
"type": "number",
532530
"default": 88,
533531
"description": "Maximum line length in signatures."
534-
},
532+
}
535533
}
536534
}

0 commit comments

Comments
 (0)