def get_pretty_format(self, include_id=True, max_name_length=<NUM_LIT:0>,<EOL>abbreviate=True):
name = self.name<EOL>if abbreviate:<EOL><INDENT>for abb in self._abbrev:<EOL><INDENT>name = re.sub(abb[<NUM_LIT:0>], abb[<NUM_LIT:1>], name)<EOL><DEDENT><DEDENT>if <NUM_LIT:3> <= max_name_length < len(name):<EOL><INDENT>name = name[:(max_name_length-<NUM_LIT:3>)] + '<STR_LIT>'<EOL><DEDENT>if include_id:<EOL><INDENT>return "<STR_LIT>" % (self.domain_short, name, self.id)<EOL><DEDENT>else:<EOL><INDENT>return "<STR_LIT>" % (self.domain_short, name)<EOL><DEDENT>
Returns a nicely formatted string with the GO term information.

        Parameters
        ----------
        include_id: bool, optional
            Include the GO term ID.
        max_name_length: int, optional
            Truncate the formatted string so that its total length does not
            exceed this value.
        abbreviate: bool, optional
            Do not use abberviations (see ``_abbrev``) to shorten the GO term
            name.

        Returns
        -------
        str
            The formatted string.