Skip to content

Commit 7c0d307

Browse files
committed
Minor formatting.
1 parent 2252eda commit 7c0d307

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

jsonschema/_validators.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def patternProperties(validator, patternProperties, instance, schema):
1616
for k, v in iteritems(instance):
1717
if re.search(pattern, k):
1818
for error in validator.descend(
19-
v, subschema, path=k, schema_path=pattern
19+
v, subschema, path=k, schema_path=pattern,
2020
):
2121
yield error
2222

@@ -47,7 +47,7 @@ def items(validator, items, instance, schema):
4747
else:
4848
for (index, item), subschema in zip(enumerate(instance), items):
4949
for error in validator.descend(
50-
item, subschema, path=index, schema_path=index
50+
item, subschema, path=index, schema_path=index,
5151
):
5252
yield error
5353

@@ -177,7 +177,7 @@ def dependencies(validator, dependencies, instance, schema):
177177

178178
if validator.is_type(dependency, "object"):
179179
for error in validator.descend(
180-
instance, dependency, schema_path=property
180+
instance, dependency, schema_path=property,
181181
):
182182
yield error
183183
else:

0 commit comments

Comments
 (0)