Skip to content

Commit

Permalink
fix: one more schema ending issue (#119)
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
  • Loading branch information
henryiii authored Nov 28, 2023
1 parent b83f463 commit f63566c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ repos:
- id: check-readthedocs
- id: check-github-workflows
- id: check-metaschema
files: ^src/uhi/resources/histogram.json$
files: ^src/uhi/resources/histogram.schema.json$
- id: check-jsonschema
name: Validate Histogram examples
args: [--schemafile, src/uhi/resources/histogram.schema.json]
Expand Down
2 changes: 1 addition & 1 deletion src/uhi/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
else:
from importlib import resources

histogram_file = resources.files("uhi") / "resources/histogram.json"
histogram_file = resources.files("uhi") / "resources/histogram.schema.json"

with histogram_file.open(encoding="utf-8") as f:
histogram_schema = fastjsonschema.compile(json.load(f))
Expand Down

0 comments on commit f63566c

Please sign in to comment.