Skip to content

Commit

Permalink
manage.py (pre-commit): Make strict record schema
Browse files Browse the repository at this point in the history
  • Loading branch information
duncandewhurst committed Oct 23, 2024
1 parent a53d550 commit e6eb4f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,7 @@ def pre_commit():
# Strict schemas.
directory = Path('strict')
json_dump(directory / 'release-schema.json', strict_release_schema)
json_dump(directory / 'record-schema.json', get_strict_schema(json_load('record-schema.json')))

strict_dereferenced_release_schema = json_load(directory / 'release-schema.json', jsonref, merge_props=True)
json_dump(directory / 'dereferenced-release-schema.json', strict_dereferenced_release_schema)
Expand Down

0 comments on commit e6eb4f1

Please sign in to comment.