mirror of
https://github.com/webmproject/libwebp.git
synced 2024-11-19 20:08:28 +01:00
Set CheckPatchFormatted flags to fail on diffs
Change-Id: Ifb826860e27139bc43b4411575e4c2bebcc81239 Bug: b:185520494
This commit is contained in:
parent
e23cd5481c
commit
b96220636b
10
PRESUBMIT.py
10
PRESUBMIT.py
@ -90,10 +90,12 @@ def _CommonChecks(input_api, output_api):
|
||||
input_api.canned_checks.CheckLongLines(
|
||||
input_api, output_api, maxlen=_LIBWEBP_MAX_LINE_LENGTH))
|
||||
results.extend(
|
||||
input_api.canned_checks.CheckPatchFormatted(input_api,
|
||||
output_api,
|
||||
check_clang_format=False,
|
||||
check_python=True))
|
||||
input_api.canned_checks.CheckPatchFormatted(
|
||||
input_api,
|
||||
output_api,
|
||||
check_clang_format=False,
|
||||
check_python=True,
|
||||
result_factory=output_api.PresubmitError))
|
||||
return results
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user