§
    øyIf÷  ã                  óÐ   — d Z ddlmZ ddlZddlZddlZddlmZ ddlmZ ddl	m
Z
 ddl	mZ  ej        e¦  «        Z ej        d¬	¦  «        dd„¦   «         Z G d„ de¦  «        ZdS )z3Contains the Violation error class used internally.é    )ÚannotationsN)ÚMatch)Ú
NamedTuple)Údefaults)Úutilsi   )ÚmaxsizeÚphysical_lineÚstrÚreturnúMatch[str] | Nonec                ó@   — t           j                             | ¦  «        S )N)r   ÚNOQA_INLINE_REGEXPÚsearch)r	   s    úD/var/www/piapp/venv/lib/python3.11/site-packages/flake8/violation.pyÚ
_find_noqar      s   € åÔ&×-Ò-¨mÑ<Ô<Ð<ó    c                  óX   — 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d„ZdS )Ú	Violationz2Class representing a violation reported by Flake8.r
   ÚcodeÚfilenameÚintÚline_numberÚcolumn_numberÚtextz
str | Noner	   Údisable_noqaÚboolr   c                óB  — | j         }|rdS |€t          j        | j        | j        ¦  «        }t          |¦  «        }|€t                               d| ¦  «         dS |                     ¦   «         d         }|€t                               d| ¦  «         dS t          t          j        |¦  «        ¦  «        }| j        |v s'| j                             t          |¦  «        ¦  «        rt                               d| |¦  «         dS t                               d| |¦  «         dS )	zõDetermine if a comment has been added to ignore this line.

        :param disable_noqa:
            Whether or not users have provided ``--disable-noqa``.
        :returns:
            True if error is ignored in-line, False otherwise.
        FNz%r is not inline ignoredÚcodesz%%r is ignored by a blanket ``# noqa``Tz5%r is ignored specifically inline with ``# noqa: %s``z,%r is not ignored inline with ``# noqa: %s``)r	   Ú	linecacheÚgetliner   r   r   ÚLOGÚdebugÚ	groupdictÚsetr   Úparse_comma_separated_listr   Ú
startswithÚtuple)Úselfr   r	   Ú
noqa_matchÚ	codes_strr   s         r   Úis_inline_ignoredzViolation.is_inline_ignored    s#  € ð Ô*ˆàð 	Ø�5àÐ Ý%Ô-¨d¬m¸TÔ=MÑNÔNˆMÝ Ñ.Ô.ˆ
ØÐÝ�IŠIÐ0°$Ñ7Ô7Ð7Ø�5à×(Ò(Ñ*Ô*¨7Ô3ˆ	ØÐÝ�IŠIÐ=¸tÑDÔDÐDØ�4å•EÔ4°YÑ?Ô?Ñ@Ô@ˆØŒ9˜ÐÐ ¤×!5Ò!5µe¸E±l´lÑ!CÔ!CÐÝ�IŠIØGØØñô ð ð
 �4å�	Š	Ø:¸DÀ)ñ	
ô 	
ð 	
ð ˆur   N)r   r   r   r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú__annotations__r+   © r   r   r   r      so   € € € € € € Ø<Ð<à€I€I�IØ€M€M�MØÐÐÑØÐÐÑØ€I€I�IØÐÐÑð%ð %ð %ð %ð %ð %r   r   )r	   r
   r   r   )r/   Ú
__future__r   Ú	functoolsr   ÚloggingÚtypingr   r   Úflake8r   r   Ú	getLoggerr,   r!   Ú	lru_cacher   r   r1   r   r   ú<module>r9      sÿ   ðØ 9Ð 9Ø "Ð "Ð "Ð "Ð "Ð "à Ð Ð Ð Ø Ð Ð Ð Ø €€€Ø Ð Ð Ð Ð Ð Ø Ð Ð Ð Ð Ð à Ð Ð Ð Ð Ð Ø Ð Ð Ð Ð Ð ð €gÔ˜Ñ!Ô!€ð €Ô˜SÐ!Ñ!Ô!ð=ð =ð =ñ "Ô!ð=ð/ð /ð /ð /ð /�
ñ /ô /ð /ð /ð /r   