관리-도구
편집 파일: misc.cpython-311.pyc
� �܋f{ � � � d Z ddlmZ ddlZddlZddlmZ ddlmZ ddl m Z mZ ddlm Z erddlmZ G d � d e � � Z G d� dee � � Zdd�ZdS )zICheck source code is ascii only or has an encoding declaration (PEP 263).� )�annotationsN)� TYPE_CHECKING)�nodes)�BaseRawFileChecker�BaseTokenChecker)�ManagedMessage)�PyLinterc �: � e Zd ZdZdZddiZdZdd�Zdd �Zdd �Z dS )�ByIdManagedMessagesCheckerzIChecks for messages that are enabled or disabled by id instead of symbol.� miscellaneous�I0023)�%s�use-symbolic-message-insteadz1Used when a message is enabled or disabled by id.� �return�Nonec �B � | j j � � � d S �N)�linter�_by_id_managed_msgs�clear��selfs �e/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/pylint/checkers/misc.py�_clear_by_id_managed_msgsz4ByIdManagedMessagesChecker._clear_by_id_managed_msgs$ s � ���'�-�-�/�/�/�/�/� �list[ManagedMessage]c � � | j j S r )r r r s r �_get_by_id_managed_msgsz2ByIdManagedMessagesChecker._get_by_id_managed_msgs'