parameters: (old_requests, config, io)
return_statement: return new_requests
docstring: Filters out entire files.
docstring_summary: Filters out entire files.
docstring_tokens: Filters out entire files .
function: def _apply_file_filters(old_requests, config, io):
      """Filters out entire files."""
      filters = _preprocess_file_filters(old_requests, config, io)
      new_requests = []
      for request in old_requests:
          category = request.category
          if category in filters:
              new_requests += filters[category].filter(request)
          else:
              new_requests.append(request)
      return new_requests
function_tokens: def _apply_file_filters ( old_requests , config , io ) : filters = _preprocess_file_filters ( old_requests , config , io ) new_requests = [ ] for request in old_requests : category = request . category if category in filters : new_requests += filters [ category ] . filter ( request ) else : new_requests . append ( request ) return new_requests