code: def deprecated(context):
      
      if 'fileFormatIn' in context:
          context.assert_keys_have_values(__name__,
                                          'fileFormatIn',
                                          'fileFormatOut')
  
          context['fileFormat'] = {'in': context['fileFormatIn'],
                                   'out': context['fileFormatOut']}
  
          logger.warning("fileFormatIn and fileFormatOut "
                         "are deprecated. They will stop working upon the next "
                         "major release. Use the new context key fileFormat "
                         "instead. It's a lot better, promise! For the moment "
                         "pypyr is creating the new fileFormat key for you "
                         "under the hood.")
docs: Create new style in params from deprecated.