Skip to content

Commit 346c8fd

Browse files
committed
Nits
1 parent bdca9a9 commit 346c8fd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

codec/validate.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212

1313
os.chdir(script_dir)
1414

15-
def validate_spec(spec_name, is_full):
15+
def validate_spec(spec_name):
1616
print(f"[Validating '{spec_name}' spec]")
17-
schema = asn1tools.compile_files(get_schema_files(is_full), codec="jer")
17+
schema = asn1tools.compile_files(get_schema_files(spec_name == "full"), codec="jer")
1818
for json_file in glob.glob(f"{spec_name}/*.json"):
1919
validate(schema, json_file)
2020

21-
validate_spec("tiny", False)
22-
validate_spec("full", True)
21+
validate_spec("tiny")
22+
validate_spec("full")

0 commit comments

Comments
 (0)