code: def main():
      
      args = parse_args()
  
      if not args.files:
          return 0
  
      with enable_sphinx_if_possible():
          status = 0
          pool = multiprocessing.Pool(multiprocessing.cpu_count())
          try:
              if len(args.files) > 1:
                  results = pool.map(
                      _check_file,
                      [(name, args) for name in args.files])
              else:
                  # This is for the case where we read from standard in.
                  results = [_check_file((args.files[0], args))]
  
              for (filename, errors) in results:
                  for error in errors:
                      line_number = error[0]
                      message = error[1]
  
                      if not re.match(r'\([A-Z]+/[0-9]+\)', message):
                          message = '(ERROR/3) ' + message
  
                      output_message('{}:{}: {}'.format(filename,
                                                        line_number,
                                                        message))
  
                      status = 1
          except (IOError, UnicodeError) as exception:
              output_message(exception)
              status = 1
  
          return status
docs: Return 0 on success.