parameters: (options)
return_statement: return FilterByExcludes(options, inputs)
docstring: Generates the inputs from flag options.
  
    Args:
      options: The flags to calcdeps.
    Returns:
      A list of inputs (strings).
docstring_summary: Generates the inputs from flag options.
docstring_tokens: Generates the inputs from flag options .
function: def GetInputsFromOptions(options):
    """Generates the inputs from flag options.
  
    Args:
      options: The flags to calcdeps.
    Returns:
      A list of inputs (strings).
    """
    inputs = options.inputs
    if not inputs:  # Parse stdin
      logging.info('No inputs specified. Reading from stdin...')
      inputs = filter(None, [line.strip('\n') for line in sys.stdin.readlines()])
  
    logging.info('Scanning files...')
    inputs = ExpandDirectories(inputs)
  
    return FilterByExcludes(options, inputs)
function_tokens: def GetInputsFromOptions ( options ) : inputs = options . inputs if not inputs : # Parse stdin logging . info ( 'No inputs specified. Reading from stdin...' ) inputs = filter ( None , [ line . strip ( '\n' ) for line in sys . stdin . readlines ( ) ] ) logging . info ( 'Scanning files...' ) inputs = ExpandDirectories ( inputs ) return FilterByExcludes ( options , inputs )