[VVP] updating validation scripts in dublin
[vvp/validation-scripts.git] / ice_validator / tests / utils / yaml_custom_utils.py
index 8a5006c..1e4b0e5 100644 (file)
@@ -50,8 +50,11 @@ def raise_duplicates_keys(loader, node, deep=False):
         value = loader.construct_object(value_node, deep=deep)
         if key in mapping:
             raise ConstructorError(
-                "while constructing a mapping", node.start_mark,
-                "found duplicate key (%s)" % key, key_node.start_mark)
+                "while constructing a mapping",
+                node.start_mark,
+                "found duplicate key (%s)" % key,
+                key_node.start_mark,
+            )
         mapping[key] = value
 
     return loader.construct_mapping(node, deep)