Hacked By AnonymousFox

Current Path : /opt/cloudlinux/venv/lib/python3.11/site-packages/pylint/message/__pycache__/
Upload File :
Current File : //opt/cloudlinux/venv/lib/python3.11/site-packages/pylint/message/__pycache__/message.cpython-311.pyc

�

�܋f�
���ddlmZddlmZmZddlmZddlmZddl	m
Z
mZddlm
Z
ed���Gd	�d
����ZdS)�)�annotations)�asdict�	dataclass)�warn)�	MSG_TYPES)�	UNDEFINED�
Confidence)�MessageLocationTupleT)�unsafe_hashc���eZdZUdZded<ded<ded<ded<ded<ded	<ded
<ded<ded<ded
<ded<ded<ded<ded<dd�Zd d�Zed!d���ZdS)"�Messagez=This class represent a message to be issued by the reporters.�str�msg_id�symbol�msg�C�categoryr	�
confidence�abspath�path�module�obj�int�line�columnz
int | None�end_line�
end_column�location�:tuple[str, str, str, str, int, int] | MessageLocationTuple�Confidence | None�return�Nonec
�"�t|t��sQtdtd���t|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
r�DeprecationWarningrrrrrrrrrrrrrrrr)�selfrrrrrs      �g/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/pylint/message/message.py�__init__zMessage.__init__"s���(�$8�9�9�	��g�"��
�
�
�
�
,���������������������	�	�H���������������!�&��)�,��
�$�1�	����'����M��	��o����<����M��	��o��� �)��
�"�-������templatec�6�|jdit|����S)z�Format 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|j��S)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.r3�propertyrr2r/r-r
r
s��������G�G��K�K�K��K�K�K��H�H�H�
�F�F�F��M�M�M������L�L�L�
�I�I�I��K�K�K��H�H�H�
�I�I�I��K�K�K���������&.�&.�&.�&.�P/�/�/�/��

�

�

��X�

�

�

r/r
N)�
__future__r�dataclassesrr�warningsr�pylint.constantsr�pylint.interfacesrr	�
pylint.typingr
r
r2r/r-�<module>rAs���
#�"�"�"�"�"�)�)�)�)�)�)�)�)�������&�&�&�&�&�&�3�3�3�3�3�3�3�3�.�.�.�.�.�.���t����M
�M
�M
�M
�M
�M
�M
���M
�M
�M
r/

Hacked By AnonymousFox1.0, Coded By AnonymousFox