pappasam / jedi-language-server

A Python language server exclusively for Jedi. If Jedi supports it well, this language server should too.
MIT License
596 stars 45 forks source link

Fix handling of initialization options following removal of pydantic #283

Closed PeterJCLaw closed 1 year ago

PeterJCLaw commented 1 year ago

This adds testing for parsing of the initialization options first with pydantic, then adapts the tests for the removal of pydantic and then fixes issues that the test finds within the parsing setup.

This is built on #282 and #281.

Note: the options parsing silently allows unexpected extra keys, which was what was creating confusion in #281. This PR does not change that.

PeterJCLaw commented 1 year ago

Glad to help :)