관리-도구
편집 파일: empty_comment.cpython-311.pyc
� �܋f� � �z � d dl mZ d dlmZ d dlmZ d dlmZ erd dlm Z dd �Z dd �Z G d� de� � Zdd�Z dS )� )�annotations)� TYPE_CHECKING)�nodes)�BaseRawFileChecker)�PyLinter�line�bytes�return�boolc � � | � d� � }|dk rdS t | |� � r%t | d|� | |dz d� z � � S dS )zEChecks if a `# symbol that is not part of a string was found in line.� #���FN� T)�find�comment_part_of_string�is_line_commented�r �comment_idxs �p/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/pylint/extensions/empty_comment.pyr r sf � � �)�)�D�/�/�K��b����u��d�K�0�0� O� ��l�{�l�!3�d�;��?�;L�;L�6M�!M�N�N�N��4� r �intc �* � | d|� � d� � dz dk r$| |d� � d� � dz dk sH| d|� � d� � dz dk r&| |d� � d� � dz dk rdS dS )z8Checks if the symbol at comment_idx is part of a string.N� '� r � "TF)�countr s r r r s� � � �\�k�\�� � ��&�&��*�a�/�/������$�$�T�*�*�Q�.�!�3�3��\�k�\�� � ��&�&��*�a�/�/������$�$�T�*�*�Q�.�!�3�3��t��5r c �&