parameters: ()
docstring: Reset file that contains customized config settings.
docstring_summary: Reset file that contains customized config settings.
docstring_tokens: Reset file that contains customized config settings .
function: def reset_tf_configure_bazelrc():
    """Reset file that contains customized config settings."""
    open(_TF_BAZELRC, 'w').close()
  
    home = os.path.expanduser('~')
    if not os.path.exists('.bazelrc'):
      if os.path.exists(os.path.join(home, '.bazelrc')):
        with open('.bazelrc', 'a') as f:
          f.write('import %s/.bazelrc\n' % home.replace('\\', '/'))
      else:
        open('.bazelrc', 'w').close()
  
    remove_line_with('.bazelrc', 'tf_configure')
    with open('.bazelrc', 'a') as f:
      f.write('import %workspace%/.tf_configure.bazelrc\n')
function_tokens: def reset_tf_configure_bazelrc ( ) : open ( _TF_BAZELRC , 'w' ) . close ( ) home = os . path . expanduser ( '~' ) if not os . path . exists ( '.bazelrc' ) : if os . path . exists ( os . path . join ( home , '.bazelrc' ) ) : with open ( '.bazelrc' , 'a' ) as f : f . write ( 'import %s/.bazelrc\n' % home . replace ( '\\' , '/' ) ) else : open ( '.bazelrc' , 'w' ) . close ( ) remove_line_with ( '.bazelrc' , 'tf_configure' ) with open ( '.bazelrc' , 'a' ) as f : f . write ( 'import %workspace%/.tf_configure.bazelrc\n' )