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:
Henry Schreiner
2025-06-14 14:58:57 +02:00
committed by GitHub
parent 5f22145df4
commit 9c53c4ee46
+2 -2
View File
@@ -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))