a
    À=a’  ã                   @   s8   d dl Z d dlmZ e  dg d¢¡ZG dd„ deƒZdS )é    N)Ú	MSG_TYPESÚ_MsgBase)Úmsg_idÚsymbolÚmsgÚCÚcategoryÚ
confidenceÚabspathÚpathÚmoduleÚobjÚlineÚcolumnc                   @   s(   e Zd ZdZdd„ Zeedœdd„ZdS )ÚMessagez<This class represent a message to be issued by the reportersc              	   C   s*   t j| ||||d t|d  |g|¢R Ž S )Nr   )r   Ú__new__r   )Úclsr   r   Úlocationr   r	   © r   ú5lib/python3.9/site-packages/pylint/message/message.pyr      s    
ùøzMessage.__new__)ÚtemplateÚreturnc                 C   s   |j f i |  ¡ ¤Ž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
        )ÚformatÚ_asdict)Úselfr   r   r   r   r   +   s    zMessage.formatN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Ústrr   r   r   r   r   r      s   r   )ÚcollectionsZpylint.constantsr   Ú
namedtupler   r   r   r   r   r   Ú<module>   s   þ