Skip to content

Commit f26bf8b

Browse files
andrewelambCopilot
andauthored
Update schematic/schemas/json_schema_validation_rule_functions.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 226423d commit f26bf8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

schematic/schemas/json_schema_validation_rule_functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ def check_for_duplicate_inputted_rules(inputted_rules: list[str]) -> None:
187187
"""
188188
rule_names = get_names_from_inputted_rules(inputted_rules)
189189
if sorted(rule_names) != sorted(list(set(rule_names))):
190-
raise ValueError("Validation Rules contains duplicates: ", inputted_rules)
190+
raise ValueError(f"Validation Rules contains duplicates: {inputted_rules}")
191191

192192

193193
def check_for_conflicting_inputted_rules(inputted_rules: list[str]) -> None:

0 commit comments

Comments
 (0)