관리-도구
편집 파일: pass_checker.cpython-311.pyc
� �܋f� � �F � d dl mZ d dlmZ d dlmZ G d� de� � ZdS )� )�nodes)�utils)� _BasicCheckerc �` � e Zd ZdZddiZ ej d� � dej ddfd�� � Z dS ) �PassCheckerz0Check if the pass statement is really necessary.�W0107)zUnnecessary pass statement�unnecessary-passz@Used when a "pass" statement that can be avoided is encountered.r �node�returnNc � � t |j � |� � � � dk s7t |j t j t j f� � r%|j j r| � d|�� � d S d S d S )N� r )r ) �len�parent�child_sequence� isinstancer �ClassDef�FunctionDef�doc_node�add_message)�selfr s �r/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/pylint/checkers/base/pass_checker.py� visit_passzPassChecker.visit_pass s� � ��t�{�)�)�$�/�/�0�0�1�4�4��t�{�U�^�U�5F�$G�H�H� 5���$� 5� ���/�d��;�;�;�;�;� 5�4�4�4� ) �__name__� __module__�__qualname__�__doc__�msgsr �only_required_for_messagesr �Passr � r r r r sj � � � � � �:�:� � ��D� &�U�%�&8�9�9�<�u�z� <�d� <� <� <� :�9�<� <� <r r N)�astroidr �pylint.checkersr �"pylint.checkers.base.basic_checkerr r r! r r �<module>r% sq �� � � � � � � !� !� !� !� !� !� <� <� <� <� <� <�<� <� <� <� <�-� <� <� <� <� <r