관리-도구
편집 파일: setup.cpython-311.pyc
� �܋fC � �r � d Z ddlmZ ddlZddlmZ ddlmZ ddlm Z ddl mZ G d� d e� � Zdd�Z dS )z?Everything related to the setup of the 'pylint-config' command.� )�annotationsN)�Sequence)�Any)�get_help)�_AccessParserActionc � � e Zd Z ddd�Zd S )�_HelpAction�--help�parser�argparse.ArgumentParser� namespace�argparse.Namespace�values�str | Sequence[Any] | None� option_string� str | None�return�Nonec �. � t | j � � d S )N)r r )�selfr r r r s �s/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/pylint/config/_pylint_config/setup.py�__call__z_HelpAction.__call__ s � � �������� N)r ) r r r r r r r r r r )�__name__� __module__�__qualname__r � r r r r s2 � � � � � � %-�� � � � � � r r r r r r c �� � d| _ | � ddt t j d| �� � | � dd�� � }|� d d �� � }|� dd �� � dS )z0Registers the necessary arguments on the parser.z pylint-configz-hr zshow this help message and exit)�action�default�helpr �config_subcommand�Subcommands)�dest�title�generatezGenerate a pylint configuration)r! z --interactive� store_true)r N)�prog�add_argumentr �argparse�SUPPRESS�add_subparsers� add_parser)r � subparsers�generate_parsers r �!_register_generate_config_optionsr0 s� � �!�F�K� �������!� .�� � � � � �&�&�,?�}�&�U�U�J� !�+�+��:� ,� � �O� � � ��� �F�F�F�F�Fr )r r r r )�__doc__� __future__r r* �collections.abcr �typingr �)pylint.config._pylint_config.help_messager �pylint.config.callback_actionsr r r0 r r r �<module>r7 s� �� F� E� #� "� "� "� "� "� ���� $� $� $� $� $� $� � � � � � � >� >� >� >� >� >� >� >� >� >� >� >�� � � � �%� � � �G� G� G� G� G� Gr