mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-20 09:34: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)
|
jsonschema.validate(obj, json_schema)
|
||||||
except jsonschema.exceptions.ValidationError as e:
|
except jsonschema.exceptions.ValidationError as e:
|
||||||
raise exception_type(
|
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)
|
obj = apply_defaults(obj, json_schema)
|
||||||
|
|
|
||||||
3
tox.ini
3
tox.ini
|
|
@ -23,6 +23,3 @@ deps =
|
||||||
sphinx
|
sphinx
|
||||||
changedir = docs
|
changedir = docs
|
||||||
commands = sphinx-build -b html -d build/doctrees source build/html
|
commands = sphinx-build -b html -d build/doctrees source build/html
|
||||||
|
|
||||||
[flake8]
|
|
||||||
max-line-length=131
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue