code: def get_formatted_relative_path(self, path):
          
          if self.format_relative_path and \
                  (path.startswith('./') or path.startswith('.\\')):
              return path[2:]
          else:
              return path
docs: Formates path to not start with a leading './' or '.\' if enables in
          the config
  
          :param str path: the path to format
          :return str: the [formatted] path