Skip to content

Commit

Permalink
feat: support PEP 735
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Schreiner <[email protected]>
  • Loading branch information
henryiii committed Oct 11, 2024
1 parent 435e09f commit 405e4ee
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion src/validate_pyproject/pyproject_toml.schema.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",

"$id": "https://packaging.python.org/en/latest/specifications/declaring-build-dependencies/",
"title": "Data structure for ``pyproject.toml`` files",
"$$description": [
Expand Down Expand Up @@ -60,6 +59,31 @@

"tool": {
"type": "object"
},
"dependency-groups": {
"type": "object",
"patternProperties": {
".*": {
"type": "array",
"items": {
"oneOf": [
{
"type": "string",
"format": "pep508"
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"include-group": {
"type": "string"
}
}
}
]
}
}
}
}
}
}

0 comments on commit 405e4ee

Please sign in to comment.