mirror of
https://github.com/webmproject/libwebp.git
synced 2025-04-05 00:16:50 +02: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.canned_checks.CheckLongLines(
|
||||||
input_api, output_api, maxlen=_LIBWEBP_MAX_LINE_LENGTH))
|
input_api, output_api, maxlen=_LIBWEBP_MAX_LINE_LENGTH))
|
||||||
results.extend(
|
results.extend(
|
||||||
input_api.canned_checks.CheckPatchFormatted(input_api,
|
input_api.canned_checks.CheckPatchFormatted(
|
||||||
output_api,
|
input_api,
|
||||||
check_clang_format=False,
|
output_api,
|
||||||
check_python=True))
|
check_clang_format=False,
|
||||||
|
check_python=True,
|
||||||
|
result_factory=output_api.PresubmitError))
|
||||||
return results
|
return results
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user