(argv, suffixes)
return lint_files
Returns files to be linted, specified directly on the command line.

  Can handle the '*' wildcard in filenames, but no other wildcards.

  Args:
    argv: Sequence of command line arguments. The second and following arguments
      are assumed to be files that should be linted.
    suffixes: Expected suffixes for the file type being checked.

  Returns:
    A sequence of files to be linted.
Returns files to be linted, specified directly on the command line.
Returns files to be linted specified directly on the command line .
def _GetUserSpecifiedFiles(argv, suffixes):
  """Returns files to be linted, specified directly on the command line.

  Can handle the '*' wildcard in filenames, but no other wildcards.

  Args:
    argv: Sequence of command line arguments. The second and following arguments
      are assumed to be files that should be linted.
    suffixes: Expected suffixes for the file type being checked.

  Returns:
    A sequence of files to be linted.
  """
  files = argv[1:] or []
  all_files = []
  lint_files = []

   # Perform any necessary globs.
  for f in files:
    if f.find('*') != -1:
      for result in glob.glob(f):
        all_files.append(result)
    else:
      all_files.append(f)

  for f in all_files:
    if MatchesSuffixes(f, suffixes):
      lint_files.append(f)
  return lint_files
def _GetUserSpecifiedFiles ( argv , suffixes ) : files = argv [ 1 : ] or [ ] all_files = [ ] lint_files = [ ] # Perform any necessary globs. for f in files : if f . find ( '*' ) != - 1 : for result in glob . glob ( f ) : all_files . append ( result ) else : all_files . append ( f ) for f in all_files : if MatchesSuffixes ( f , suffixes ) : lint_files . append ( f ) return lint_files