§
    øyIfæ  ã                  óš  — d Z ddlmZ ddlZddlZddlZddlmZ ddlmZ ddl	Z
ddlmZ  ej        e¦  «        Zi dd“d	d
“dd“dd“dd“dd“dd“dd“dd“dd“dd“dd“dd “d!d"“d#d$“d%d&“d'd(“i d)d*“d+d,“d-d.“d/d0“d1d2“d3d4“d5d6“d7d8“d9d:“d;d<“d=d>“d?d@“dAdB“dCdD“dEdF“dGdH“dIdJ“¥dKdLdMdNdOdPdQdRdSdTdUdVœ¥Z G dW„ dXe
j        j        ¦  «        ZdS )Yz8Plugin built-in to Flake8 to treat pyflakes as a plugin.é    )ÚannotationsN)ÚAny)Ú	Generator)ÚOptionManagerÚUnusedImportÚF401ÚImportShadowedByLoopVarÚF402ÚImportStarUsedÚF403ÚLateFutureImportÚF404ÚImportStarUsageÚF405ÚImportStarNotPermittedÚF406ÚFutureFeatureNotDefinedÚF407ÚPercentFormatInvalidFormatÚF501ÚPercentFormatExpectedMappingÚF502ÚPercentFormatExpectedSequenceÚF503Ú PercentFormatExtraNamedArgumentsÚF504ÚPercentFormatMissingArgumentÚF505Ú$PercentFormatMixedPositionalAndNamedÚF506Ú$PercentFormatPositionalCountMismatchÚF507Ú!PercentFormatStarRequiresSequenceÚF508Ú'PercentFormatUnsupportedFormatCharacterÚF509ÚStringDotFormatInvalidFormatÚF521Ú"StringDotFormatExtraNamedArgumentsÚF522Ú'StringDotFormatExtraPositionalArgumentsÚF523ÚStringDotFormatMissingArgumentÚF524ÚStringDotFormatMixingAutomaticÚF525ÚFStringMissingPlaceholdersÚF541ÚMultiValueRepeatedKeyLiteralÚF601ÚMultiValueRepeatedKeyVariableÚF602Ú%TooManyExpressionsInStarredAssignmentÚF621ÚTwoStarredExpressionsÚF622ÚAssertTupleÚF631Ú	IsLiteralÚF632ÚInvalidPrintSyntaxÚF633ÚIfTupleÚF634ÚBreakOutsideLoopÚF701ÚContinueOutsideLoopÚF702ÚYieldOutsideFunctionÚF704ÚReturnOutsideFunctionÚF706ÚF707ÚF721ÚF722ÚF811ÚF821ÚF822ÚF823ÚF831ÚF841ÚF842ÚF901)ÚDefaultExceptNotLastÚDoctestSyntaxErrorÚForwardAnnotationSyntaxErrorÚRedefinedWhileUnusedÚUndefinedNameÚUndefinedExportÚUndefinedLocalÚDuplicateArgumentÚUnusedVariableÚUnusedAnnotationÚRaiseNotImplementedc                  ó`   ‡ — e Zd ZdZdZdˆ fd	„Zedd„¦   «         Zedd„¦   «         Zdd„Z	ˆ xZ
S )ÚFlakesCheckerz=Subclass the Pyflakes checker to conform with the flake8 API.FÚtreeúast.ASTÚfilenameÚstrÚreturnÚNonec                óZ   •— t          ¦   «                              ||| j        ¬¦  «         dS )z=Initialize the PyFlakes plugin with an AST tree and filename.)re   ÚwithDoctestN)ÚsuperÚ__init__Úwith_doctest)Úselfrc   re   Ú	__class__s      €úK/var/www/piapp/venv/lib/python3.11/site-packages/flake8/plugins/pyflakes.pyrl   zFlakesChecker.__init__F   s8   ø€ å‰Œ×ÒØ˜8°Ô1Bð 	ñ 	
ô 	
ð 	
ð 	
ð 	
ó    Úparserr   c                ól   — |                      dddd¬¦  «         |                      ddddd¬	¦  «         d
S )z:Register options for PyFlakes on the Flake8 OptionManager.z
--builtinsTz&define more built-ins, comma separated)Úparse_from_configÚcomma_separated_listÚhelpz
--doctestsFÚ
store_truez!also check syntax of the doctests)ÚdefaultÚactionrt   rv   N)Ú
add_option)Úclsrr   s     rp   Úadd_optionszFlakesChecker.add_optionsL   se   € ð 	×ÒØØ"Ø!%Ø9ð	 	ñ 	
ô 	
ð 	
ð 	×ÒØØØØ"Ø4ð 	ñ 	
ô 	
ð 	
ð 	
ð 	
rq   Úoptionsúargparse.Namespacec                ót   — |j         r$| j                             |j         ¦  «        | _        |j        | _        dS )z0Parse option values from Flake8's OptionManager.N)ÚbuiltinsÚbuiltInsÚunionÚdoctestsrm   )r{   r}   s     rp   Úparse_optionszFlakesChecker.parse_options]   s;   € ð Ôð 	@Øœ<×-Ò-¨gÔ.>Ñ?Ô?ˆCŒLØ"Ô+ˆÔÐÐrq   ú6Generator[tuple[int, int, str, type[Any]], None, None]c           
   #  óü   K  — | j         D ]q}t          |dd¦  «        }|j        |d                     t                               t          |¦  «        j        d¦  «        |j        |j	        z  ¦  «        |j
        fV — ŒrdS )zRun the plugin.Úcolr   z{} {}ÚF999N)ÚmessagesÚgetattrÚlinenoÚformatÚFLAKE8_PYFLAKES_CODESÚgetÚtypeÚ__name__ÚmessageÚmessage_argsro   )rn   r‘   r‡   s      rp   ÚrunzFlakesChecker.rund   s•   è è € à”}ð 
	ð 
	ˆGÝ˜' 5¨!Ñ,Ô,ˆCà”ØØ—’Ý)×-Ò-­d°7©m¬mÔ.DÀfÑMÔMØ”O gÔ&:Ñ:ñô ð Ô!ðð ð ð ð ð
	ð 
	rq   )rc   rd   re   rf   rg   rh   )rr   r   rg   rh   )r}   r~   rg   rh   )rg   r…   )r�   Ú
__module__Ú__qualname__Ú__doc__rm   rl   Úclassmethodr|   r„   r“   Ú__classcell__)ro   s   @rp   rb   rb   A   sœ   ø€ € € € € ØGÐGà€Lð
ð 
ð 
ð 
ð 
ð 
ð ð
ð 
ð 
ñ „[ð
ð  ð,ð ,ð ,ñ „[ð,ðð ð ð ð ð ð ð rq   rb   )r–   Ú
__future__r   ÚargparseÚastÚloggingÚtypingr   r   Úpyflakes.checkerÚpyflakesÚflake8.options.managerr   Ú	getLoggerr�   ÚLOGr�   ÚcheckerÚCheckerrb   © rq   rp   ú<module>r¦      s§  ðØ >Ð >Ø "Ð "Ð "Ð "Ð "Ð "à €€€Ø 
€
€
€
Ø €€€Ø Ð Ð Ð Ð Ð Ø Ð Ð Ð Ð Ð à Ð Ð Ð à 0Ð 0Ð 0Ð 0Ð 0Ð 0à€gÔ˜Ñ!Ô!€ð.Ø�Fð.à˜vð.ð �fð.ð ˜ð	.ð
 �vð.ð ˜fð.ð ˜vð.ð ! &ð.ð # Fð.ð $ Vð.ð '¨ð.ð # Fð.ð +¨Fð.ð +¨Fð.ð (¨ð.ð  .¨vð!.ð" # Fð#.ð .ð$ )¨&ð%.ð& .¨vð'.ð( % fð).ð* % fð+.ð, ! &ð-.ð. # Fð/.ð0 $ Vð1.ð2 ,¨Vð3.ð4 ˜Vð5.ð6 �6ð7.ð8 �ð9.ð: ˜&ð;.ð< ˆvð=.ð> ˜ð?.ð@ ˜6ðA.ðB ˜FðC.ðD ˜VðE.ð .ðF #Ø Ø$*Ø"ØØØØØØØ!ð[.ð .ð .Ð ðb/ð /ð /ð /ð /�HÔ$Ô,ñ /ô /ð /ð /ð /rq   