diff options
-rw-r--r-- | PRESUBMIT.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/PRESUBMIT.py b/PRESUBMIT.py index b5397042b2..d62249a605 100644 --- a/PRESUBMIT.py +++ b/PRESUBMIT.py @@ -143,8 +143,6 @@ def CheckChangeOnUpload(input_api, output_api): """ results = [] results.extend(_CommonChecks(input_api, output_api)) - # TODO(rmistry): Remove the below it is only for testing!!! - results.extend(_CheckLGTMsForPublicAPI(input_api, output_api)) return results @@ -256,11 +254,6 @@ def _CheckLGTMsForPublicAPI(input_api, output_api): # It is a revert CL, ignore the public api owners check. return results - if re.search(r'^COMMIT=false$', issue_properties['description'], re.M): - # Ignore public api owners check for COMMIT=false CLs since they are not - # going to be committed. - return results - match = re.search(r'^TBR=(.*)$', issue_properties['description'], re.M) if match: tbr_entries = match.group(1).strip().split(',') |