Skip to content

Commit

Permalink
Align tool.setuptools.dynamic.optional-dependencies with project.opti…
Browse files Browse the repository at this point in the history
…onal-dependencies
  • Loading branch information
abravalheri committed May 7, 2024
1 parent ba8dd19 commit b1d99d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/validate_pyproject/plugins/setuptools.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@
"dependencies": {"$ref": "#/definitions/file-directive-for-dependencies"},
"optional-dependencies": {
"type": "object",
"propertyNames": {"type": "string", "format": "python-identifier"},
"propertyNames": {"type": "string", "format": "pep508-identifier"},
"additionalProperties": false,
"patternProperties": {
".+": {"$ref": "#/definitions/file-directive-for-dependencies"}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
`tool.setuptools.dynamic.optional-dependencies` keys must be named by:

{type: string, format: 'python-identifier'}
{type: string, format: 'pep508-identifier'}

0 comments on commit b1d99d8

Please sign in to comment.