parameters: (input_api, output_api)
return_statement: return results
docstring: Presubmit checks for the change on commit.
docstring_summary: Presubmit checks for the change on commit.
docstring_tokens: Presubmit checks for the change on commit .
function: def CheckChangeOnCommit(input_api, output_api):
    """Presubmit checks for the change on commit."""
    results = []
    results.extend(_CommonChecks(input_api, output_api))
    # Checks for the presence of 'DO NOT''SUBMIT' in CL description and in
    # content of files.
    results.extend(
        input_api.canned_checks.CheckDoNotSubmit(input_api, output_api))
    return results
function_tokens: def CheckChangeOnCommit ( input_api , output_api ) : results = [ ] results . extend ( _CommonChecks ( input_api , output_api ) ) # Checks for the presence of 'DO NOT''SUBMIT' in CL description and in # content of files. results . extend ( input_api . canned_checks . CheckDoNotSubmit ( input_api , output_api ) ) return results