PyFunceble/helpers.py
def format(self):
        """
        Return a well formatted list. Basicaly, it's sort a list and remove duplicate.

        :return: A sorted, without duplicate, list.
        :rtype: list
        """

        try:
            return sorted(list(set(self.main_list)), key=str.lower)

        except TypeError:  # pragma: no cover
            return self.main_list
def format(self):
        try:
            return sorted(list(set(self.main_list)), key=str.lower)

        except TypeError:  # pragma: no cover
            return self.main_list
def format ( self ) : try : return sorted ( list ( set ( self . main_list ) ) , key = str . lower ) except TypeError : # pragma: no cover return self . main_list
Return a well formatted list. Basicaly, it's sort a list and remove duplicate.

        :return: A sorted, without duplicate, list.
        :rtype: list
Return a well formatted list . Basicaly it s sort a list and remove duplicate .