Remove unused imports

This commit is contained in:
Lorenzo Figini 2024-05-17 11:01:14 +02:00
parent 3ed93dbc9b
commit 7ab3d52901

View File

@ -2,9 +2,7 @@ import argparse
import sys
import json
import jsonschema
import jsonschema.protocols
import jsonschema.validators
from jsonschema import Draft202012Validator
from jsonschema.exceptions import SchemaError, ValidationError
from referencing import Registry, Resource
from referencing.jsonschema import DRAFT202012
@ -45,6 +43,7 @@ if __name__ == "__main__":
print("Schema check failed.")
print(f"{e.message}")
exit(1)
# Validate the document
try:
validator.validate(document)
print("Valid!")