Skip to content

ENH: add json schema#1586

Open
Alvaro-Kothe wants to merge 5 commits into
airspeed-velocity:mainfrom
Alvaro-Kothe:feat/add-json-schema
Open

ENH: add json schema#1586
Alvaro-Kothe wants to merge 5 commits into
airspeed-velocity:mainfrom
Alvaro-Kothe:feat/add-json-schema

Conversation

@Alvaro-Kothe
Copy link
Copy Markdown

Closes #1585

Too check the schema locally

  1. Apply this patch:
diff --git a/asv.conf.json b/asv.conf.json
index ab1e6d6..f5f760e 100644
--- a/asv.conf.json
+++ b/asv.conf.json
@@ -1,4 +1,5 @@
 {
+    "$schema": "./asv.conf.schema.json",
     // The version of the config file format.  Do not change, unless
     // you know what you are doing.
     "version": 1,
  1. Setup a json lsp, I used the one from microsoft

Gemini generated the initial draft, then I reviewed and modify according to the documentation in https://asv.readthedocs.io/en/latest/asv.conf.json.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create a JSON Schema for asv.conf.json

1 participant