chore: minor tweaks to generate schema script (#2467)
chore: minor tweeks to generate schema script Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env -S uv run -q
|
||||||
|
|
||||||
# /// script
|
# /// script
|
||||||
# dependencies = ["pyyaml"]
|
# dependencies = ["pyyaml"]
|
||||||
@@ -368,7 +368,7 @@ schema["properties"] |= oses
|
|||||||
if args.schemastore:
|
if args.schemastore:
|
||||||
schema["$id"] = "https://json.schemastore.org/partial-cibuildwheel.json"
|
schema["$id"] = "https://json.schemastore.org/partial-cibuildwheel.json"
|
||||||
schema["description"] = (
|
schema["description"] = (
|
||||||
"cibuildwheel's toml file, generated with ./bin/generate_schema.py --schemastore from cibuildwheel."
|
"cibuildwheel's settings. Generated with ./bin/generate_schema.py --schemastore from cibuildwheel."
|
||||||
)
|
)
|
||||||
|
|
||||||
print(json.dumps(schema, indent=2))
|
print(json.dumps(schema, indent=2))
|
||||||
|
|||||||
Reference in New Issue
Block a user