diff --git a/scripts/generate_schema.py b/scripts/generate_schema.py index 3576575..dcdfc74 100755 --- a/scripts/generate_schema.py +++ b/scripts/generate_schema.py @@ -53,7 +53,7 @@ def main(schemastore: bool, outfile: IO[str]) -> None: schema: dict[str, Any] = { "$schema": "http://json-schema.org/draft-07/schema#", "$id": ( - "https://github.com/psf/black/blob/main/black/resources/black.schema.json" + "https://github.com/psf/black/blob/main/src/black/resources/black.schema.json" ), "$comment": "tool.black table in pyproject.toml", "type": "object", diff --git a/src/black/resources/black.schema.json b/src/black/resources/black.schema.json index f5c80dd..a536d54 100644 --- a/src/black/resources/black.schema.json +++ b/src/black/resources/black.schema.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "https://github.com/psf/black/blob/main/black/resources/black.schema.json", + "$id": "https://github.com/psf/black/blob/main/src/black/resources/black.schema.json", "$comment": "tool.black table in pyproject.toml", "type": "object", "additionalProperties": false,