There was an error while loading. Please reload this page.
1 parent 7119acd commit 5d9ba14Copy full SHA for 5d9ba14
2 files changed
pre_commit/clientlib/validate_base.py
@@ -51,7 +51,9 @@ def validate(filename, load_strategy=yaml.load):
51
jsonschema.validate(obj, json_schema)
52
except jsonschema.exceptions.ValidationError as e:
53
raise exception_type(
54
- 'Invalid content: {0}\n{1}'.format(os.path.relpath(filename), e),
+ 'Invalid content: {0}\n{1}'.format(
55
+ os.path.relpath(filename), e
56
+ ),
57
)
58
59
obj = apply_defaults(obj, json_schema)
tox.ini
@@ -23,6 +23,3 @@ deps =
23
sphinx
24
changedir = docs
25
commands = sphinx-build -b html -d build/doctrees source build/html
26
-
27
-[flake8]
28
-max-line-length=131
0 commit comments