bg ddlmZddlmZmZddlmZddlmZddl m Z m Z ddl m Z edGd d Zd S) ) annotations)asdict dataclass)warn) MSG_TYPES) UNDEFINED Confidence)MessageLocationTupleT) unsafe_hashceZdZUdZded<ded<ded<ded<ded<ded <ded <ded <ded <ded <ded<ded<ded<ded<ddZd dZed!dZdS)"Messagez=This class represent a message to be issued by the reporters.strmsg_idsymbolmsgCcategoryr confidenceabspathpathmoduleobjintlinecolumnz int | Noneend_line end_columnlocation:tuple[str, str, str, str, int, int] | MessageLocationTupleConfidence | NonereturnNonec "t|tsQtdtdt|d|d|d|d|d|ddd}||_||_||_|d|_t|d|_ |pt|_ |j |_ |j |_ |j|_|j|_|j|_|j|_|j|_|j|_dS) NzUIn pylint 3.0, Messages will only accept a MessageLocationTuple as location parameter) stacklevelr) isinstancer rDeprecationWarningrrrrrrrrrrrrrrrr)selfrrrrrs g/builddir/build/BUILD/cloudlinux-venv-1.0.7/venv/lib/python3.11/site-packages/pylint/message/message.py__init__zMessage.__init__"s($899  g"     ,        H  !&), $1 ' M o <M o  ) "-templatec6|jdit|S)zFormat the message according to the given template. The template format is the one of the format method : cf. https://docs.python.org/2/library/string.html#formatstrings )formatr)r,r0s r-r3zMessage.formatJs" x.....r/r c ~t|j|j|j|j|j|j|j|jS)N) r rrrrrrrr)r,s r-rzMessage.locationRs<# L I K H I K M O   r/N) rrrrrrrrrr r!r")r0rr!r)r!r ) __name__ __module__ __qualname____doc____annotations__r.r3propertyrr2r/r-r r sGGKKKKKK HHH FFFMMMLLL IIIKKK HHH IIIKKK&.&.&.&.P////    X    r/r N) __future__r dataclassesrrwarningsrpylint.constantsrpylint.interfacesrr pylint.typingr r r2r/r-rAs #"""""))))))))&&&&&&33333333...... tM M M M M M M M M M r/