def __repr__(self):
        import jip.cli as c
        split = self.template.split("\n")
        n_len = len(len(split))
        lines = [("%" + n_len + "d: %s") % (i + 1, s)
                 for i, s in enumerate(split)]
        if self.line and self.line < len(lines):
            lines[self.line] = c.colorize(lines[self.line], c.YELLOW)

        return "%s%s: %s\n\n:" % (
            c.colorize("Temlate error", c.RED),
            " " if not self.line else c.colorize(
                self.line % "in line %d", c.RED
            ),
            c.colorize(self.message, c.YELLOW),
            "\n".join(lines)
        )
dataset/ETHPy150Open thasso/pyjip/jip/templates.py/RenderError.__repr__/swapped operands of `%`