§
    øyIf«  ã                  óz   — 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
mZ  ej        e¦  «        Zdd„ZdS )zÖAggregation function for CLI specified options and config file options.

This holds the logic that uses the collected and merged config files and
applies the user-specified command-line configuration on top of it.
é    )ÚannotationsN)ÚSequence)Úconfig)ÚOptionManagerÚmanagerr   Úcfgúconfigparser.RawConfigParserÚcfg_dirÚstrÚargvúSequence[str] | NoneÚreturnúargparse.Namespacec           	     óÜ  — |                       g ¦  «        }t          j        | ||¦  «        }| j        |_        | j        |_        |                     ¦   «         D ]\  }}|}t          ||¦  «        s+| j        |         j        }	t          |	t          ¦  «        sJ ‚|	}t                               dt          ||d¦  «        ||¦  «         t          |||¦  «         Œ€|                       ||¦  «        S )z0Aggregate and merge CLI and config file options.z3Overriding default value of (%s) for "%s" with (%s)N)Ú
parse_argsr   Úparse_configÚextended_default_ignoreÚextended_default_selectÚitemsÚhasattrÚconfig_options_dictÚdestÚ
isinstancer   ÚLOGÚdebugÚgetattrÚsetattr)
r   r   r
   r   Údefault_valuesÚparsed_configÚconfig_nameÚvalueÚ	dest_nameÚdest_vals
             úM/var/www/piapp/venv/lib/python3.11/site-packages/flake8/options/aggregator.pyÚaggregate_optionsr%      s  € ð ×'Ò'¨Ñ+Ô+€Nõ Ô'¨°°gÑ>Ô>€Mð .5Ô-L€NÔ*Ø-4Ô-L€NÔ*ð ,×1Ò1Ñ3Ô3ð 2ð 2Ñˆ�UØˆ	õ �~ {Ñ3Ô3ð 	!ØÔ2°;Ô?ÔDˆHÝ˜h­Ñ,Ô,Ð,Ð,Ð,Ø ˆIå�	Š	ØAÝ�N I¨tÑ4Ô4ØØñ		
ô 	
ð 	
õ 	� 	¨5Ñ1Ô1Ð1Ð1ð ×Ò˜d NÑ3Ô3Ð3ó    )
r   r   r   r	   r
   r   r   r   r   r   )Ú__doc__Ú
__future__r   ÚargparseÚconfigparserÚloggingÚtypingr   Úflake8.optionsr   Úflake8.options.managerr   Ú	getLoggerÚ__name__r   r%   © r&   r$   ú<module>r2      s§   ððð ð
 #Ð "Ð "Ð "Ð "Ð "à €€€Ø Ð Ð Ð Ø €€€Ø Ð Ð Ð Ð Ð à !Ð !Ð !Ð !Ð !Ð !Ø 0Ð 0Ð 0Ð 0Ð 0Ð 0à€gÔ˜Ñ!Ô!€ð%4ð %4ð %4ð %4ð %4ð %4r&   