code: def set_config_defaults(args):
      
  
      defaults = {
          'fail': 'fast',
          'stdout': 'fail'
      }
  
      for key in defaults:
          if not args[key]:
              args[key] = defaults[key]
  
      return args
docs: Set configuration defaults
  
          :param args: a dict of arguments
          :type args: dict
  
          :return: a dict of arguments
          :rtype: dict