
    c                       d Z ddlmZ ddlZddlZddlmZ ddlmZm	Z	m
Z
mZmZmZmZmZmZmZmZ ej        dk    rddlmZmZmZ n
ddlmZmZmZ erddlmZ dd	lmZ dd
lmZ ddlmZ  G d de          Z  G d de          Z! G d de          Z" G d de          Z# G d de          Z$ed         Z%	 ee&ede&e'e(ee&         eee&e(ee&         f                  ed         e
e	ge	f         e
e	e	e	e	ge	f         f	         f         Z)eee&e)f         df         Z*e
dded         gdf         Z+	  G d ded          Z,eee&e&e&f         ee&e&e&e,f         f         Z-eeeej.        df         f         Z/ G d  d!e          Z0dS )"z!A collection of typing utilities.    )annotationsN)Path)TYPE_CHECKINGAnyCallableDictIterable
NamedTupleOptionalPatternTupleTypeUnion)      )LiteralProtocol	TypedDict)_CallbackAction)Project)Section)LinterStatsc                  2    e Zd ZU dZded<   ded<   ded<   dS )FileItemzRepresents data about a file handled by pylint.

    Each file item has:
    - name: full name of the module
    - filepath: path of the file
    - modname: module name
    strnamefilepathmodpathN__name__
__module____qualname____doc____annotations__     -lib/python3.11/site-packages/pylint/typing.pyr   r   &   s7           IIIMMMLLLLLr&   r   c                  F    e Zd ZU dZded<   ded<   ded<   ded<   ded<   d	S )
ModuleDescriptionDictz'Represents data about a checked module.r   pathr   boolisargbasepathbasenameNr   r%   r&   r'   r)   r)   4   sC         11IIIIIIKKKMMMMMMMMr&   r)   c                  2    e Zd ZU dZded<   ded<   ded<   dS )	ErrorDescriptionDictzCRepresents data about errors collected during checking of a module.zLiteral['fatal']keyr   modzImportError | SyntaxErrorexNr   r%   r&   r'   r0   r0   >   s9         MMHHH!!!!!!r&   r0   c                  l    e Zd ZU dZded<   ded<   ded<   ded<   ded<   ded	<   d
Zded<   d
Zded<   d
S )MessageLocationTuplezGTuple with information about the location of a to-be-displayed message.r   abspathr*   moduleobjintlinecolumnN
int | Noneend_line
end_column)r    r!   r"   r#   r$   r=   r>   r%   r&   r'   r5   r5   F   sp         QQLLLIIIKKKHHHIIIKKKH!J!!!!!!r&   r5   c                  F    e Zd ZU dZded<   ded<   ded<   ded<   d	ed
<   dS )ManagedMessagez=Tuple with information about a managed message of the linter.
str | Noner   r   msgidsymbolr<   r:   r+   is_disabledNr   r%   r&   r'   r@   r@   S   sN         GGJJJKKKr&   r@   )
conventionerrorfatalinforefactor	statementwarningr   .r   r   c                  P    e Zd ZU dZded<   ded<   ded<   ded<   d	ed
<   d	ed<   dS )ExtraMessageOptionsz>All allowed keys in the extra options for message definitions.r   scopezlist[tuple[str, str]]	old_namesztuple[int, int]
maxversion
minversionr+   shareddefault_enabledNr   r%   r&   r'   rM   rM   x   sZ         HHJJJ$$$$LLLr&   rM   F)totalDirectoryNamespaceDictc                      e Zd Zd
ddZd	S )GetProjectCallableNo Namer7   r   r   rA   returnr   c                    d S )Nr%   )selfr7   r   s      r'   __call__zGetProjectCallable.__call__   s    r&   N)rX   )r7   r   r   rA   rY   r   )r    r!   r"   r\   r%   r&   r'   rW   rW      s-              r&   rW   )1r#   
__future__r   argparsesyspathlibr   typingr   r   r   r   r	   r
   r   r   r   r   r   version_infor   r   r   typing_extensionspylint.config.callback_actionsr   pylint.pyreverse.inspectorr   pylint.reporters.ureports.nodesr   pylint.utilsr   r   r)   r0   r5   r@   MessageTypesFullNamer   r+   r9   
OptionDictOptionsReportsCallablerM   MessageDefinitionTuple	NamespacerU   rW   r%   r&   r'   <module>rn      s  
 ( ' " " " " " "  



                                v ?33333333333>>>>>>>>>> )>>>>>>222222777777((((((    z       I   " " " " "9 " " "
" 
" 
" 
" 
": 
" 
" 
"    Z    N  ' 	sC-./##sC%s*+	-

 c:o&+
, I}h}6MNPTTU "    )5     	#sC-	#sC,
,-/  dE(*<>V*V$WWX          r&   