Skip to content

Commit

Permalink
Fix broken GitHub link to black.schema.json (#4445)
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksMat committed Sep 8, 2024
1 parent 6b27ef5 commit f50aba4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/generate_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/black/resources/black.schema.json
Original file line number Diff line number Diff line change
@@ -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,
Expand Down

0 comments on commit f50aba4

Please sign in to comment.