
    yIfu                        d dl mZ d dlmZmZ d dlmZ d dlmZm	Z	 d dl
mZ  ed           G d d	                      Zd
S )    )annotations)asdict	dataclass)	MSG_TYPES)	UNDEFINED
Confidence)MessageLocationTupleT)unsafe_hashc                      e Zd ZU dZded<   ded<   ded<   ded<   ded<   ded	<   ded
<   ded<   ded<   ded<   ded<   ded<   ded<   ded<   ddZddZed d            ZdS )!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locationr	   Confidence | NonereturnNonec                V   || _         || _        || _        |d         | _        t          |d                  | _        |pt          | _        |j        | _        |j	        | _	        |j
        | _
        |j        | _        |j        | _        |j        | _        |j        | _        |j        | _        d S )Nr   )r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   )selfr   r   r   r   r   s         J/var/www/piapp/venv/lib/python3.11/site-packages/pylint/message/message.py__init__zMessage.__init__!   s     !&),$1	'M	o<M	o )"-    templatec                6     |j         di t          |           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"   r&   s     r#   r)   zMessage.format8   s"     x.....r%   c           
     ~    t          | j        | j        | j        | j        | j        | j        | j        | j                  S )N)	r	   r   r   r   r   r   r   r   r   )r"   s    r#   r   zMessage.location@   s<    #LIKHIKMO	
 	
 		
r%   N)r   r   r   r   r   r	   r   r   r   r   r   r    )r&   r   r   r   )r   r	   )	__name__
__module____qualname____doc____annotations__r$   r)   propertyr   r(   r%   r#   r   r      s         GGKKKKKKHHH
FFFMMMLLLIIIKKKHHHIIIKKK. . . ../ / / / 

 

 

 X

 

 

r%   r   N)
__future__r   dataclassesr   r   pylint.constantsr   pylint.interfacesr   r   pylint.typingr	   r   r(   r%   r#   <module>r6      s   
 # " " " " " ) ) ) ) ) ) ) ) & & & & & & 3 3 3 3 3 3 3 3 . . . . . . t<
 <
 <
 <
 <
 <
 <
 <
 <
 <
r%   