mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Restore 79 character lines.
This commit is contained in:
parent
7119acdc7d
commit
5d9ba14841
2 changed files with 3 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue