(input_api, output_api)
return input_api.environ.get('PRESUBMIT_TREE_CHECK') == 'skip'
Check the env var whether we want to skip tree check.
     Only skip if include/v8-version.h has been updated.
Check the env var whether we want to skip tree check.
     Only skip if include/v8-version.h has been updated.
Check the env var whether we want to skip tree check . Only skip if include / v8 - version . h has been updated .
def _SkipTreeCheck(input_api, output_api):
  """Check the env var whether we want to skip tree check.
     Only skip if include/v8-version.h has been updated."""
  src_version = 'include/v8-version.h'
  FilterFile = lambda file: file.LocalPath() == src_version
  if not input_api.AffectedSourceFiles(
      lambda file: file.LocalPath() == src_version):
    return False
  return input_api.environ.get('PRESUBMIT_TREE_CHECK') == 'skip'
def _SkipTreeCheck ( input_api , output_api ) : src_version = 'include/v8-version.h' FilterFile = lambda file : file . LocalPath ( ) == src_version if not input_api . AffectedSourceFiles ( lambda file : file . LocalPath ( ) == src_version ) : return False return input_api . environ . get ( 'PRESUBMIT_TREE_CHECK' ) == 'skip'