def RunValidationOutputToConsole(feed, options):
  """Validate feed, print reports and return an exit code."""
  accumulator = CountingConsoleProblemAccumulator(
      options.error_types_ignore_list)
  problems = transitfeed.ProblemReporter(accumulator)
  _, exit_code = RunValidation(feed, options, problems)
  return exit_code
def RunValidationOutputToConsole ( feed , options ) : accumulator = CountingConsoleProblemAccumulator ( options . error_types_ignore_list ) problems = transitfeed . ProblemReporter ( accumulator ) _ , exit_code = RunValidation ( feed , options , problems ) return exit_code
Validate feed, print reports and return an exit code.