
    e              
      N   U d dl mZ d dlmZ d dlmZ  G d de      Zg Zded<   g  edd	       ed
d       edd       edddg       edddg       edddg       edd       edd	       edd       edd       edd       edd        ed!d"       ed#d$       ed%d&       ed'd(       ed)d*       ed+d,       ed-d.       ed/d0       ed1d2       ed3d4       ed5d6       ed7d8       ed9d:       ed;d<       ed=d>       ed?d@       edAdB       edCdD       edEdFdGg       edHdIdJg       edKdL       edMdN       edOdP       edQdR       edSdT       edUdV       edWdX       edYdZ       ed[d\       ed]d^d_g       ed`da       edbdc       eddde       edfdg       edhdi       edjdk       edldm       edndo       edpdq       edrds       edtdu       edvdw       edxdy       edzd{       ed|d}       ed~d       edd       edd       edd       edd       edd       edd       edd       edd       edd       edd      g eddg d      g edd      g edd       edd       edd      g edd      g edd      gdZ	d edd      giZ
 ed      dd       Z ed      dd       Z ed      dd       Z ed      dd       Zy)    )annotations)	lru_cache)
NamedTuplec                  0    e Zd ZU ded<   ded<   g Zded<   y)DeletedMessagestrmsgidsymbolzlist[tuple[str, str]]	old_namesN)__name__
__module____qualname____annotations__r        E/usr/lib/python3/dist-packages/pylint/message/_deleted_message_ids.pyr   r      s    JK')I$)r   r   z	list[int]DELETED_MSGID_PREFIXESW1601zapply-builtinE1601zprint-statementE1602zparameter-unpackingE1603zunpacking-in-except)W0712zold-unpacking-in-exceptE1604zold-raise-syntax)W0121zold-old-raise-syntaxE1605backtick)W0333zold-backtickE1609zimport-star-module-levelW1602zbasestring-builtinW1603zbuffer-builtinW1604zcmp-builtinW1605zcoerce-builtinW1606zexecfile-builtinW1607zfile-builtinW1608zlong-builtinW1609zraw_input-builtinW1610zreduce-builtinW1611zstandarderror-builtinW1612zunicode-builtinW1613zxrange-builtinW1614zcoerce-methodW1615zdelslice-methodW1616zgetslice-methodW1617zsetslice-methodW1618zno-absolute-importW1619zold-divisionW1620zdict-iter-methodW1621zdict-view-methodW1622znext-method-calledW1623zmetaclass-assignmentW1624zindexing-exception)W0713zold-indexing-exceptionW1625zraising-string)W0701zold-raising-stringW1626zreload-builtinW1627z
oct-methodW1628z
hex-methodW1629znonzero-methodW1630z
cmp-methodW1632zinput-builtinW1633zround-builtinW1634zintern-builtinW1635zunichr-builtinW1636zmap-builtin-not-iterating)W1631zimplicit-map-evaluationW1637zzip-builtin-not-iteratingW1638zrange-builtin-not-iteratingW1639zfilter-builtin-not-iteratingW1640zusing-cmp-argumentW1642z
div-methodW1643zidiv-methodW1644zrdiv-methodW1645zexception-message-attributeW1646zinvalid-str-codecW1647zsys-max-intW1648zbad-python3-importW1649zdeprecated-string-functionW1650zdeprecated-str-translate-callW1651zdeprecated-itertools-functionW1652zdeprecated-types-fieldW1653znext-method-definedW1654zdict-items-not-iteratingW1655zdict-keys-not-iteratingW1656zdict-values-not-iteratingW1657zdeprecated-operator-functionW1658zdeprecated-urllib-functionW1659zxreadlines-attributeW1660zdeprecated-sys-functionW1661zexception-escapeW1662zcomprehension-escapeW0312zmixed-indentationC0326zbad-whitespace))C0323zno-space-after-operator)C0324zno-space-after-comma)C0322zno-space-before-operatorC0330zbad-continuationR0921zabstract-class-not-usedR0922zabstract-class-little-usedW0142z	star-argsW0232zno-initW0111zassign-to-new-keyword)z.https://github.com/pylint-dev/pylint/pull/4942z.https://github.com/pylint-dev/pylint/pull/3578z.https://github.com/pylint-dev/pylint/pull/3577z.https://github.com/pylint-dev/pylint/pull/3571zVhttps://pylint.readthedocs.io/en/latest/whatsnew/1/1.4.html#what-s-new-in-pylint-1-4-3z0https://github.com/pylint-dev/pylint/issues/2409z.https://github.com/pylint-dev/pylint/pull/6421zUhttps://pylint.readthedocs.io/en/latest/whatsnew/2/2.14/summary.html#removed-checkersR0201zno-self-useN)maxsizec                     t         j                         D ]?  \  }}|D ]5  } |j                  k(  st         fd|j                  D              s1|c c S  A y)>Return the explanation for removal if the message was removed.c              3  .   K   | ]  }|d    k(    yw   Nr   .0mr
   s     r   	<genexpr>z$is_deleted_symbol.<locals>.<genexpr>   s      7#$!A$7   N)DELETED_MESSAGES_IDSitemsr
   anyr   )r
   explanationdeleted_messagesdeleted_messages   `   r   is_deleted_symbolrz      sg     *>)C)C)E #%%/ 	#O///3 7(7(A(A7 4 #"		## r   c                     t         j                         D ]?  \  }}|D ]5  } |j                  k(  st         fd|j                  D              s1|c c S  A y)rk   c              3  .   K   | ]  }|d    k(    ywr   Nr   rp   rq   r	   s     r   rr   z#is_deleted_msgid.<locals>.<genexpr>   s      5"#15rs   N)rt   ru   r	   rv   r   )r	   rw   rx   ry   s   `   r   is_deleted_msgidr      sg     *>)C)C)E #%%/ 	#O--- 5'6'@'@5 2 #"		## r   c                     t         j                         D ]?  \  }}|D ]5  } |j                  k(  st         fd|j                  D              s1|c c S  A y)IReturn the explanation for moving if the message was moved to extensions.c              3  .   K   | ]  }|d    k(    ywrm   r   ro   s     r   rr   z"is_moved_symbol.<locals>.<genexpr>   s      5#$!A$5rs   N)MOVED_TO_EXTENSIONSru   r
   rv   r   )r
   rw   moved_messagesmoved_messages   `   r   is_moved_symbolr      sf     (;'@'@'B ##^+ 	#M--- 5(5(?(?5 2 #"		## r   c                     t         j                         D ]?  \  }}|D ]5  } |j                  k(  st         fd|j                  D              s1|c c S  A y)r   c              3  .   K   | ]  }|d    k(    ywr}   r   r~   s     r   rr   z!is_moved_msgid.<locals>.<genexpr>   s      3"#13rs   N)r   ru   r	   rv   r   )r	   rw   r   r   s   `   r   is_moved_msgidr      sf     (;'@'@'B ##^+ 	#M+++s 3'4'>'>3 0 #"		## r   )r
   r   return
str | None)r	   r   r   r   )
__future__r   	functoolsr   typingr   r   r   r   rt   r   rz   r   r   r   r   r   r   <module>r      s  
 #  *Z * %' 	 &L7w0L7w 12L7 	w 56L7 	*-Q,R	
	L7 	'*K)L	
L7 	w
-F,GHL7 	w :;L7 	w0L7 	w 45L7 	w 01L7 	w.L7  	w 01!L7" 	w 23#L7$ 	w/%L7& 	w/'L7( 	w 34)L7* 	w 01+L7, 	w 78-L7. 	w 12/L70 	w 011L72 	w03L74 	w 125L76 	w 127L78 	w 129L7: 	w 45;L7< 	w/=L7> 	w 23?L7@ 	w 23AL7B 	w 45CL7D 	w 67EL7F 	),O+P	
GL7L 	w 03R2STML7N 	w 01OL7P 	w-QL7R 	w-SL7T 	w 01UL7V 	w-WL7X 	w0YL7Z 	w0[L7\ 	w 01]L7^ 	w 01_L7` 	03W2X	
aL7f 	w ;<gL7h 	w =>iL7j 	w >?kL7l 	w 45mL7n 	w-oL7p 	w.qL7r 	w.sL7t 	w =>uL7v 	w 34wL7x 	w.yL7z 	w 45{L7| 	w <=}L7~ 	w ?@L7@ 	w ?@AL7B 	w 89CL7D 	w 56EL7F 	w :;GL7H 	w 9:IL7J 	w ;<KL7L 	w >?ML7N 	w <=OL7P 	w 67QL7R 	w 9:SL7T 	w 23UL7V 	w 67WL7\ 	w 347 		

7 	w 237 	w 9:w <=w,_ 	w	*9 	w 787Qk Z \w.^  4  4  4  4 r   