python-lsp / python-lsp-server

Fork of the python-language-server project, maintained by the Spyder IDE team and the community
MIT License
1.9k stars 197 forks source link

Schema appears incorrect for rope.extensionModules #590

Open shipmints opened 1 month ago

shipmints commented 1 month ago

Been attempting to audit Emacs eglot configurations vs. pylsp logs and behaviors (a frustrating and time-consuming process).

pylsp code says; e.g.

return {
"rope": {"extensionModules": MODULES},
self.__rope.prefs.set(
"extension_modules", rope_config.get("extensionModules", [])

Yet the schema says string and not array.

"pylsp.rope.extensionModules": {
"type": [
"string",

Is this innocuous or does it have negative effects? Do the rest of the entries need auditing is a question this raises...