def __call__(self, value):
fmt = self.fmt(value)<EOL>if len(fmt) > self.col_width:<EOL><INDENT>fmt = fmt[:self.col_width - <NUM_LIT:3>] + '<STR_LIT>'<EOL><DEDENT>fmt = self.just(fmt, self.col_width)<EOL>return fmt<EOL>
Formats a given value

Args:
    value: value to format

Returns:
    str: formatted value