
    g                        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y)	zAggregation 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)OptionManagerc           	        | j                  g       }t        j                  | ||      }| j                  |_        | j                  |_        |j                         D ]p  \  }}|}t        ||      s-| j                  |   j                  }	t        |	t              sJ |	}t        j                  dt        ||d      ||       t        |||       r | j                  ||      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
isinstancestrLOGdebuggetattrsetattr)
managercfgcfg_dirargvdefault_valuesparsed_configconfig_namevalue	dest_namedest_vals
             \/var/www/html/brdwt/brdwt/brdwtenv/lib/python3.12/site-packages/flake8/options/aggregator.pyaggregate_optionsr!      s     ''+N ''g>M .5-L-LN*-4-L-LN* ,113 2U	 ~{322;?DDHh,,, I		ANIt4		
 		51!2& dN33    )
r   r   r   zconfigparser.RawConfigParserr   r   r   zSequence[str] | Nonereturnzargparse.Namespace)__doc__
__future__r   argparseconfigparserloggingtypingr   flake8.optionsr   flake8.options.managerr   	getLogger__name__r   r!    r"   r    <module>r/      sf   
 #     ! 0g!%4%4	%%4 %4 	%4
 %4r"   