We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73a05c3 commit e09a8aeCopy full SHA for e09a8ae
utils.py
@@ -60,9 +60,11 @@ def json_from_file(file_path):
60
61
def validate_file(file_path):
62
print('validating {}'.format(file_path))
63
- schema = json_from_file(file_path + '.schema')
+ schema = json_from_file("__schemas__/" + file_path)
64
if schema == None:
65
- return []
+ schema = json_from_file(file_path + '.schema')
66
+ if schema == None:
67
+ return []
68
instance = json_from_file(file_path)
69
70
validator = Draft7Validator(schema)
0 commit comments