Skip to content

Commit

Permalink
pre-commit run --all-files
Browse files Browse the repository at this point in the history
  • Loading branch information
anneschuth committed May 30, 2024
1 parent 5863508 commit 0bb7878
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
# instrument-registry
Registry for instruments / measures such as the IAMA.

4 changes: 2 additions & 2 deletions script/validate
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ import yaml
from jsonschema import validate

# Load the YAML file
with open(sys.argv[2], 'r') as yaml_file:
with open(sys.argv[2], "r") as yaml_file:
data = yaml.safe_load(yaml_file)

# Load the JSON schema
with open(sys.argv[1], 'r') as schema_file:
with open(sys.argv[1], "r") as schema_file:
schema = json.load(schema_file)

# Validate the data
Expand Down

0 comments on commit 0bb7878

Please sign in to comment.