Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 496 Bytes

File metadata and controls

29 lines (20 loc) · 496 Bytes

Setup

Requires py3.8 and up.

Setup

Use UV to manage virtual environment and run scripts.

Install dependecies:

uv venv

Update types

Download the latest json schema:

uv run download_schemas.py

Generate the types and fix some issues by triggering formatting:

uv run generate.py
uv run ruff format

Copy the lsp_types.py file to your project.

NOTE: Do not import types that begin with __. These types are internal types and are not meant to be used.