pyre-check
pyre-check copied to clipboard
JSON schema for config file
Having a JSON schema for the config file (.pyre_configuration) would be beneficial. This would not only facilitate easier editing of configurations but could also enable auto-generation of documentation tables or other useful outputs.
Schemas can be integrated using the $schema key to enable editor completions:
"$schema": "url_to_schema",
For comparison, pyright already has a configuration schema here: https://github.com/microsoft/pyright/blob/main/packages/vscode-pyright/schemas/pyrightconfig.schema.json
Resources for creating a schema: