mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-01-12 20:10:21 -06:00
Restore 79 character lines.
This commit is contained in:
@@ -51,7 +51,9 @@ def get_validator(
|
||||
jsonschema.validate(obj, json_schema)
|
||||
except jsonschema.exceptions.ValidationError as e:
|
||||
raise exception_type(
|
||||
'Invalid content: {0}\n{1}'.format(os.path.relpath(filename), e),
|
||||
'Invalid content: {0}\n{1}'.format(
|
||||
os.path.relpath(filename), e
|
||||
),
|
||||
)
|
||||
|
||||
obj = apply_defaults(obj, json_schema)
|
||||
|
||||
Reference in New Issue
Block a user