parameters: (input_api, output_api)
return_statement: return sum([check(input_api, output_api) for check in checks], [])
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."""
    # TODO(machenbach): Replace some of those checks, e.g. owners and copyright,
    # with the canned PanProjectChecks. Need to make sure that the checks all
    # pass on all existing files.
    checks = [
      input_api.canned_checks.CheckOwnersFormat,
      input_api.canned_checks.CheckOwners,
      _CheckCommitMessageBugEntry,
      input_api.canned_checks.CheckPatchFormatted,
      _CheckGenderNeutralInLicenses,
      _V8PresubmitChecks,
      _CheckUnwantedDependencies,
      _CheckNoProductionCodeUsingTestOnlyFunctions,
      _CheckHeadersHaveIncludeGuards,
      _CheckNoInlineHeaderIncludesInNormalHeaders,
      _CheckJSONFiles,
      _CheckNoexceptAnnotations,
      _RunTestsWithVPythonSpec,
    ]
  
    return sum([check(input_api, output_api) for check in checks], [])
function_tokens: def _CommonChecks ( input_api , output_api ) : # TODO(machenbach): Replace some of those checks, e.g. owners and copyright, # with the canned PanProjectChecks. Need to make sure that the checks all # pass on all existing files. checks = [ input_api . canned_checks . CheckOwnersFormat , input_api . canned_checks . CheckOwners , _CheckCommitMessageBugEntry , input_api . canned_checks . CheckPatchFormatted , _CheckGenderNeutralInLicenses , _V8PresubmitChecks , _CheckUnwantedDependencies , _CheckNoProductionCodeUsingTestOnlyFunctions , _CheckHeadersHaveIncludeGuards , _CheckNoInlineHeaderIncludesInNormalHeaders , _CheckJSONFiles , _CheckNoexceptAnnotations , _RunTestsWithVPythonSpec , ] return sum ( [ check ( input_api , output_api ) for check in checks ] , [ ] )