Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit07bd78c

Browse files
committed
chore: check schemas
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
1 parentd7db575 commit07bd78c

File tree

3 files changed

+56
-2
lines changed

3 files changed

+56
-2
lines changed

‎.pre-commit-config.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,20 @@ repos:
7979
-id:codespell
8080
args:["-L", "sur", "-w"]
8181
exclude:^docs/working-examples\.md$# Autogenerated
82+
83+
84+
-repo:https://github.com/python-jsonschema/check-jsonschema
85+
rev:0.27.0
86+
hooks:
87+
-id:check-dependabot
88+
-id:check-github-actions
89+
-id:check-github-workflows
90+
-id:check-gitlab-ci
91+
-id:check-readthedocs
92+
-id:check-travis
93+
-id:check-jsonschema
94+
name:Check projects
95+
args:[--schemafile, docs/data/projects.schema.json]
96+
files:'^docs/data/projects.yml$'
97+
-id:check-metaschema
98+
files:'^docs/data/projects.schema.json$'

‎docs/data/projects.schema.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"$schema":"http://json-schema.org/draft-07/schema#",
3+
"$id":"https://github.com/pypa/cibuildwheel/blob/main/cibuildwheel/docs/data/projects.schema.json",
4+
"type":"array",
5+
"description":"The projects file for cibuildwheel",
6+
"items": {
7+
"type":"object",
8+
"additionalProperties":false,
9+
"properties": {
10+
"name": {"type":"string" },
11+
"gh": {"type":"string","pattern":"[^/]*/[^/]*" },
12+
"stars": {"$ref":"#/items/properties/gh" },
13+
"pypi": {"type":"string" },
14+
"notes": {"type":"string" },
15+
"ci": {
16+
"type":"array",
17+
"items": {
18+
"enum": [
19+
"github",
20+
"travisci",
21+
"appveyor",
22+
"circleci",
23+
"gitlab",
24+
"cirrusci",
25+
"azurepipelines"
26+
]
27+
}
28+
},
29+
"ci_config": {"type":"string" },
30+
"os": {
31+
"type":"array",
32+
"items": {"enum": ["windows","apple","linux"] }
33+
}
34+
},
35+
"required": ["name","gh","ci","os"]
36+
}
37+
}

‎docs/data/projects.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -603,13 +603,13 @@
603603
gh:tensorchord/envd
604604
ci:[github]
605605
os:[apple, linux, windows]
606-
note:A machine learning development environment build tool
606+
notes:A machine learning development environment build tool
607607

608608
-name:mosec
609609
gh:mosecorg/mosec
610610
ci:[github]
611611
os:[linux, apple]
612-
note:A machine learning model serving framework powered by Rust
612+
notes:A machine learning model serving framework powered by Rust
613613

614614
-name:ril
615615
gh:Cryptex-github/ril-py

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp