Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 405e4ee

Browse files
committed
feat: support PEP 735
Signed-off-by: Henry Schreiner <[email protected]>
1 parent 435e09f commit 405e4ee

1 file changed

Lines changed: 25 additions & 1 deletion

File tree

src/validate_pyproject/pyproject_toml.schema.json

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"$schema": "http://json-schema.org/draft-07/schema#",
3-
43
"$id": "https://packaging.python.org/en/latest/specifications/declaring-build-dependencies/",
54
"title": "Data structure for ``pyproject.toml`` files",
65
"$$description": [
@@ -60,6 +59,31 @@
6059

6160
"tool": {
6261
"type": "object"
62+
},
63+
"dependency-groups": {
64+
"type": "object",
65+
"patternProperties": {
66+
".*": {
67+
"type": "array",
68+
"items": {
69+
"oneOf": [
70+
{
71+
"type": "string",
72+
"format": "pep508"
73+
},
74+
{
75+
"type": "object",
76+
"additionalProperties": false,
77+
"properties": {
78+
"include-group": {
79+
"type": "string"
80+
}
81+
}
82+
}
83+
]
84+
}
85+
}
86+
}
6387
}
6488
}
6589
}

0 commit comments

Comments
 (0)