관리-도구
편집 파일: help_formatter.cpython-311.pyc
� �܋f� � �\ � d dl mZ d dlZd dlmZ d dlmZmZ G d� dej � � Z dS )� )�annotationsN)�_CallbackAction��DEFAULT_PYLINT_HOME�OLD_DEFAULT_PYLINT_HOMEc �2 � e Zd ZdZd d�Zedd�� � Zd S )�_HelpFormatterz3Formatter for the help message emitted by argparse.�action�argparse.Action�return� str | Nonec �� � |j sJ �|j }t |t � � r|S d|vr@|j t j ur-t j t j g}|j s |j |v r|dz }|S )z3Copied from argparse.ArgumentDefaultsHelpFormatter.z %(default)z (default: %(default)s)) �help� isinstancer �default�argparse�SUPPRESS�OPTIONAL�ZERO_OR_MORE�option_strings�nargs)�selfr �help_string�defaulting_nargss �m/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/pylint/config/help_formatter.py�_get_help_stringz_HelpFormatter._get_help_string s� � ��{���{��k�� �f�o�.�.� ����{�*�*��~�X�%6�6�6�$,�$5�x�7L�#M� ��(� =�F�L�<L�,L�,L��#<�<�K��� �strc �( � dt � dt � d�S )Nz� Environment variables: The following environment variables are used: * PYLINTHOME Path to the directory where persistent data for the run will be stored. If not found, it defaults to 'z' or 'aP ' (in the current working directory). * PYLINTRC Path to the configuration file. See the documentation for the method used to search for configuration file. Output: Using the default text output, the message format is : MESSAGE_TYPE: LINE_NUM:[OBJECT:] MESSAGE There are 5 kind of message types : * (I) info, for informational messages * (C) convention, for programming standard violation * (R) refactor, for bad code smell * (W) warning, for python specific problems * (E) error, for probable bugs in the code * (F) fatal, if an error occurred which prevented pylint from doing further processing. Output status code: Pylint should leave with following bitwise status codes: * 0 if everything went fine * 1 if a fatal message was issued * 2 if an error message was issued * 4 if a warning message was issued * 8 if a refactor message was issued * 16 if a convention message was issued * 32 on usage error r � r r �get_long_descriptionz#_HelpFormatter.get_long_description s1 � �� CV� � � 5�� � � r N)r r r r )r r )�__name__� __module__�__qualname__�__doc__r �staticmethodr! r r r r r sN � � � � � �=�=�� � � � � � � � �\� � � r r ) � __future__r r �pylint.config.callback_actionsr �pylint.constantsr r �RawDescriptionHelpFormatterr r r r �<module>r+ s� �� #� "� "� "� "� "� ���� :� :� :� :� :� :� I� I� I� I� I� I� I� I�4� 4� 4� 4� 4�X�9� 4� 4� 4� 4� 4r