
    c
                    \    d dl mZ d dlZd dlmZ d dlmZmZ  G d dej                  Z	dS )    )annotationsN)_CallbackActionDEFAULT_PYLINT_HOMEOLD_DEFAULT_PYLINT_HOMEc                  2    e Zd ZdZd
dZedd            Zd	S )_HelpFormatterz3Formatter for the help message emitted by argparse.actionargparse.Actionreturn
str | Nonec                    |j         sJ |j         }t          |t                    r|S d|vr@|j        t          j        ur-t          j        t          j        g}|j        s	|j	        |v r|dz  }|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       <lib/python3.11/site-packages/pylint/config/help_formatter.py_get_help_stringz_HelpFormatter._get_help_string   s    {k fo.. 	{* 	=~X%66 =$,$5x7L#M ( =FL<L,L =#<<K    strc                 (    dt            dt           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     CV	 
 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 4r   