parameters: (self, variable_name: str, filename: str)
docstring: Write a file containing the list of all outputs which are
          generated by this script.
docstring_summary: Write a file containing the list of all outputs which are
          generated by this script.
docstring_tokens: Write a file containing the list of all outputs which are generated by this script .
function: def write_outputs(self, variable_name: str, filename: str) -> None:
          """Write a file containing the list of all outputs which are
          generated by this script."""
          content = 'set({}\n    {})'.format(
              variable_name, '\n    '.join('"' + name + '"' for name in sorted(self.filenames)))
          self._write_if_changed(filename, content)
function_tokens: def write_outputs ( self , variable_name : str , filename : str ) -> None : content = 'set({}\n    {})' . format ( variable_name , '\n    ' . join ( '"' + name + '"' for name in sorted ( self . filenames ) ) ) self . _write_if_changed ( filename , content )