tmc/coloring.py
def formatter(color, s):
    """ Formats a string with color """
    if no_coloring:
        return s
    return "{begin}{s}{reset}".format(begin=color, s=s, reset=Colors.RESET)
def formatter(color, s):
    """ Formats a string with color """
    if no_coloring:
        return s
    return "{begin}{s}{reset}".format(begin=color, s=s, reset=Colors.RESET)
def formatter ( color , s ) : if no_coloring : return s return "{begin}{s}{reset}" . format ( begin = color , s = s , reset = Colors . RESET )
Formats a string with color
Formats a string with color