code: def diff(file_, imports):
      
      modules_not_imported = compare_modules(file_, imports)
  
      logging.info("The following modules are in {} but do not seem to be imported: "
                   "{}".format(file_, ", ".join(x for x in modules_not_imported)))
docs: Display the difference between modules in a file and imported modules.