§
    ÷yIfî  ã                  óF   — d dl mZ d dlZd dlmZ d dlmZ d dlmZ dd
„Z	dS )é    )ÚannotationsN)ÚCallable)ÚAny)ÚCheckerTestCaseÚkwargsr   Úreturnú4Callable[[Callable[..., None]], Callable[..., None]]c                 ó   ‡ — dˆ fd„}|S )z·Decorator for setting an option on the linter.

    Passing the args and kwargs back to the test function itself
    allows this decorator to be used on parameterized test cases.
    ÚfunúCallable[..., None]r   c                óL   •‡ — t          j        ‰ ¦  «        d	ˆ ˆfd„¦   «         }|S )
NÚselfr   Úargsr   Útest_function_kwargsr   ÚNonec                ó¼   •— ‰                      ¦   «         D ] \  }}| j                             ||¦  «         Œ!| j                             ¦   «           ‰| g|¢R i |¤Ž dS )zSet option via argparse.N)ÚitemsÚlinterÚ
set_optionÚcheckerÚopen)r   r   r   ÚkeyÚvaluer   r   s        €€úN/var/www/piapp/venv/lib/python3.11/site-packages/pylint/testutils/decorator.pyÚ_forwardz.set_config.<locals>._wrapper.<locals>._forward   sx   ø€ ð
 %Ÿlšl™nœnð 3ð 3‘
��UØ”×&Ò& s¨EÑ2Ô2Ð2Ð2ð ŒL×ÒÑÔÐàˆC�Ð4�tÐ4Ð4Ð4Ð3Ð4Ð4Ð4Ð4Ð4ó    )r   r   r   r   r   r   r   r   )Ú	functoolsÚwraps)r   r   r   s   ` €r   Ú_wrapperzset_config.<locals>._wrapper   sC   øø€ Ý	Œ˜Ñ	Ô	ð
	5ð 
	5ð 
	5ð 
	5ð 
	5ð 
	5ñ 
Ô	ð
	5ð ˆr   )r   r   r   r   © )r   r   s   ` r   Ú
set_configr!      s(   ø€ ðð ð ð ð ð ð  €Or   )r   r   r   r	   )
Ú
__future__r   r   Úcollections.abcr   Útypingr   Ú"pylint.testutils.checker_test_caser   r!   r    r   r   ú<module>r&      sy   ðð
 #Ð "Ð "Ð "Ð "Ð "à Ð Ð Ð Ø $Ð $Ð $Ð $Ð $Ð $Ø Ð Ð Ð Ð Ð à >Ð >Ð >Ð >Ð >Ð >ðð ð ð ð ð r   