diff options
Diffstat (limited to 'infra/config/PRESUBMIT.py')
-rw-r--r-- | infra/config/PRESUBMIT.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/infra/config/PRESUBMIT.py b/infra/config/PRESUBMIT.py new file mode 100644 index 00000000..f79e08ad --- /dev/null +++ b/infra/config/PRESUBMIT.py @@ -0,0 +1,13 @@ +# Copyright 2018 The PDFium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +USE_PYTHON3 = True + + +def CheckChangeOnUpload(input_api, output_api): + return input_api.canned_checks.CheckChangedLUCIConfigs(input_api, output_api) + + +def CheckChangeOnCommit(input_api, output_api): + return input_api.canned_checks.CheckChangedLUCIConfigs(input_api, output_api) |