diff options
author | Christoffer Jansson <jansson@google.com> | 2022-02-24 14:18:56 +0100 |
---|---|---|
committer | libyuv LUCI CQ <libyuv-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-02-24 13:34:14 +0000 |
commit | 43a21fbf9d1979baa271dd930653a4ecb24445c8 (patch) | |
tree | cfbaa4c17fe8c80bd3244d4725d417c74fe0db97 /PRESUBMIT.py | |
parent | e77531f6f149340428d8a1076d0a1473bdec8c09 (diff) | |
download | libyuv-43a21fbf9d1979baa271dd930653a4ecb24445c8.tar.gz |
Update PRESUBMIT, cleanup_links and autoroller to py3
First pass, will continue in followup CL's.
Bug: libyuv:917
Change-Id: I1c1cad4ebb4e37225611fd11d420e12e3a7d45b5
Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/3488006
Reviewed-by: Mirko Bonadei <mbonadei@chromium.org>
Commit-Queue: Christoffer Jansson <jansson@chromium.org>
Diffstat (limited to 'PRESUBMIT.py')
-rw-r--r-- | PRESUBMIT.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/PRESUBMIT.py b/PRESUBMIT.py index b867239a..d3901caf 100644 --- a/PRESUBMIT.py +++ b/PRESUBMIT.py @@ -6,6 +6,8 @@ # in the file PATENTS. All contributing project authors may # be found in the AUTHORS file in the root of the source tree. +# Runs PRESUBMIT.py in py3 mode by git cl presubmit. +USE_PYTHON3 = True def _CommonChecks(input_api, output_api): """Checks common to both upload and commit.""" @@ -26,7 +28,8 @@ def _CommonChecks(input_api, output_api): 'E0611', # No package y in x 'W0232', # Class has no __init__ method ], - pylintrc='pylintrc')) + pylintrc='pylintrc', + version='2.7')) return results |