parameters: (input_api, output_api)
return_statement: return results
docstring: Checks common to both upload and commit.
docstring_summary: Checks common to both upload and commit.
docstring_tokens: Checks common to both upload and commit .
function: def _CommonChecks(input_api, output_api):
    """Checks common to both upload and commit."""
    results = []
    results.extend(input_api.canned_checks.PanProjectChecks(
        input_api, output_api, excluded_paths=_EXCLUDED_PATHS))
    results.extend(_CheckNoInterfacesInBase(input_api, output_api))
    results.extend(_CheckAuthorizedAuthor(input_api, output_api))
    results.extend(
      _CheckNoProductionCodeUsingTestOnlyFunctions(input_api, output_api))
    results.extend(_CheckNoIOStreamInHeaders(input_api, output_api))
    results.extend(_CheckNoNewWStrings(input_api, output_api))
    results.extend(_CheckNoDEPSGIT(input_api, output_api))
    results.extend(_CheckNoFRIEND_TEST(input_api, output_api))
    results.extend(_CheckNoScopedAllowIO(input_api, output_api))
    return results
function_tokens: def _CommonChecks ( input_api , output_api ) : results = [ ] results . extend ( input_api . canned_checks . PanProjectChecks ( input_api , output_api , excluded_paths = _EXCLUDED_PATHS ) ) results . extend ( _CheckNoInterfacesInBase ( input_api , output_api ) ) results . extend ( _CheckAuthorizedAuthor ( input_api , output_api ) ) results . extend ( _CheckNoProductionCodeUsingTestOnlyFunctions ( input_api , output_api ) ) results . extend ( _CheckNoIOStreamInHeaders ( input_api , output_api ) ) results . extend ( _CheckNoNewWStrings ( input_api , output_api ) ) results . extend ( _CheckNoDEPSGIT ( input_api , output_api ) ) results . extend ( _CheckNoFRIEND_TEST ( input_api , output_api ) ) results . extend ( _CheckNoScopedAllowIO ( input_api , output_api ) ) return results