§
    îyIf¹  ã                   ó:   — d Z ddlZddlZ G d„ d¦  «        Zd„ ZdS )z
Provide the Reporter class.
é    Nc                   ó*   — e Zd ZdZd„ Zd„ Zd„ Zd„ ZdS )ÚReporterz:
    Formats the results of pyflakes checks to users.
    c                 ó"   — || _         || _        dS )a©  
        Construct a L{Reporter}.

        @param warningStream: A file-like object where warnings will be
            written to.  The stream's C{write} method must accept unicode.
            C{sys.stdout} is a good value.
        @param errorStream: A file-like object where error output will be
            written to.  The stream's C{write} method must accept unicode.
            C{sys.stderr} is a good value.
        N)Ú_stdoutÚ_stderr)ÚselfÚwarningStreamÚerrorStreams      úE/var/www/piapp/venv/lib/python3.11/site-packages/pyflakes/reporter.pyÚ__init__zReporter.__init__   s   € ð %ˆŒØ"ˆŒˆˆó    c                 óF   — | j                              |› d|› d�¦  «         dS )a  
        An unexpected error occurred trying to process C{filename}.

        @param filename: The path to a file that we could not process.
        @ptype filename: C{unicode}
        @param msg: A message explaining the problem.
        @ptype msg: C{unicode}
        z: ú
N)r   Úwrite)r   ÚfilenameÚmsgs      r   ÚunexpectedErrorzReporter.unexpectedError   s1   € ð 	Œ×Ò˜hÐ1Ð1¨#Ð1Ð1Ð1Ñ2Ô2Ð2Ð2Ð2r   c           
      ó   — |€d}n|                      ¦   «         d         }t          |pdd¦  «        }|�2t          |d¦  «        }| j                             d||||fz  ¦  «         n | j                             d|||fz  ¦  «         |�t| j                             |¦  «         | j                             d¦  «         |�@| j                             t	          j        dd	|d|dz
  …         ¦  «        d
z   ¦  «         dS dS dS )a0  
        There was a syntax error in C{filename}.

        @param filename: The path to the file with the syntax error.
        @ptype filename: C{unicode}
        @param msg: An explanation of the syntax error.
        @ptype msg: C{unicode}
        @param lineno: The line number where the syntax error occurred.
        @ptype lineno: C{int}
        @param offset: The column on which the syntax error occurred, or None.
        @ptype offset: C{int}
        @param text: The source code containing the syntax error.
        @ptype text: C{unicode}
        Néÿÿÿÿr   é   z%s:%d:%d: %s
z
%s:%d: %s
r   z\Sú z^
)Ú
splitlinesÚmaxr   r   ÚreÚsub)r   r   r   ÚlinenoÚoffsetÚtextÚlines          r   ÚsyntaxErrorzReporter.syntaxError'   s8  € ð ˆ<ØˆDˆDà—?’?Ñ$Ô$ RÔ(ˆDõ �V�[˜q !Ñ$Ô$ˆàÐå˜ ‘^”^ˆFØŒL×ÒÐ/Ø (¨&°&¸#Ð>ñ ?ñ @ô @ð @ð @ð ŒL×Ò˜}°¸&À#Ð/FÑFÑGÔGÐGàÐØŒL×Ò˜tÑ$Ô$Ð$ØŒL×Ò˜tÑ$Ô$Ð$ØÐ!Ø”×"Ò"¥2¤6¨%°°d¸;¸FÀQ¹J¸;Ô6GÑ#HÔ#HØ#(ñ$)ñ *ô *ð *ð *ð *ð	 Ðð "Ð!r   c                 óˆ   — | j                              t          |¦  «        ¦  «         | j                              d¦  «         dS )zp
        pyflakes found something wrong with the code.

        @param: A L{pyflakes.messages.Message}.
        r   N)r   r   Ústr)r   Úmessages     r   ÚflakezReporter.flakeN   s<   € ð 	Œ×Ò�3˜w™<œ<Ñ(Ô(Ð(ØŒ×Ò˜4Ñ Ô Ð Ð Ð r   N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r    r$   © r   r   r   r   	   s[   € € € € € ðð ð#ð #ð #ð	3ð 	3ð 	3ð%*ð %*ð %*ðN!ð !ð !ð !ð !r   r   c                  óJ   — t          t          j        t          j        ¦  «        S )zI
    Make a reporter that can be used when no reporter is specified.
    )r   ÚsysÚstdoutÚstderrr)   r   r   Ú_makeDefaultReporterr.   X   s   € õ •C”J¥¤
Ñ+Ô+Ð+r   )r(   r   r+   r   r.   r)   r   r   ú<module>r/      sm   ððð ð 
€	€	€	Ø 
€
€
€
ðL!ð L!ð L!ð L!ð L!ñ L!ô L!ð L!ð^,ð ,ð ,ð ,ð ,r   