§ |<ˆjÑã óT—dZddlZddlZddlZddlmZddlmZddlmZddlm Z ddlm Z ddl m Z dd l mZeje¦«Zd ed e eeffd „Zd ed e efd„Zddœde edeeded e ejeffd„Zdedejded eeeffd„ZdS)z!Config handling logic for Flake8.éN)ÚAny)ÚDict)ÚList)ÚOptional)ÚTuple)Ú exceptions)Ú OptionManagerÚsÚreturncóF—tj|¦«}|j|jfS)N)ÚosÚstatÚst_inoÚst_dev)r Ústs úg/builddir/build/BUILD/cloudlinux-venv-1.0.12/venv/lib/python3.11/site-packages/flake8/options/config.pyÚ _stat_keyrs€å Œ�‰Œ€BØ Œ9�b”iÐ ÐóÚpathcóp—tj d¦«} |dkrt|¦«nd}n#t$rd}YnwxYwt|¦«} dD]˜}t j¦«}tj ||¦«} | |d¬¦«d|vsd|vr|cSŒZ#tt j f$r&}t  d||¦«Yd}~Œ‘d}~wwxYwtj  |¦«}t|¦«} | |ks| |krn|}| }ŒÛdS) Nú~T)z setup.cfgztox.iniz.flake8úUTF-8©ÚencodingÚflake8zflake8:local-pluginsz"ignoring unparseable config %s: %s)r rÚ expanduserrÚOSErrorÚ configparserÚRawConfigParserÚjoinÚreadÚUnicodeDecodeErrorÚ ParsingErrorÚLOGÚwarningÚdirname) rÚhomeÚ home_statÚdir_statÚ candidateÚcfgÚcfg_pathÚeÚnew_pathÚ new_dir_stats rÚ_find_config_filer0s€€å Œ7× Ò ˜cÑ "Ô "€DðØ'+¨s¢{ {•I˜d‘O”O�O¸ˆ ˆ øÝ ðððØˆ ˆ ˆ ðøøøõ˜‰Œ€Hð$Ø<ð $ð $ˆIÝÔ.Ñ0Ô0ˆCÝ”w—|’| D¨)Ñ4Ô4ˆHð $Ø—’˜¨G�Ñ4Ô4Ð4ð ˜s�?�?Ð&<ÀÐ&CÐ&CØ#�O�O�Oð'Døõ '­ Ô(AÐBð Oð Oð OÝ— ’ Ð@À(ÈAÑNÔNÐNÐNÐNÐNÐNÐNøøøøð Oøøøõ”7—?’? 4Ñ(Ô(ˆÝ  Ñ*Ô*ˆ Ø ˜8Ò #Ð # |°yÒ'@Ð'@Ø àˆDØ#ˆHð'$ð, ˆ4s'¡9¹ AÁAÂB7Â7C3à C.Ã.C3F)ÚisolatedÚconfigÚextrar1cóš—tj d¦«}|rtj¦«|fS|€t |¦«}tj¦«}|�N| |d¬¦«stjd|›�¦«‚tj  |¦«}n|}|D]}| |d¬¦«Œ||fS)a@Load the configuration given the user options. - in ``isolated`` mode, return an empty configuration - if a config file is given in ``config`` use that, otherwise attempt to discover a configuration using ``tox.ini`` / ``setup.cfg`` / ``.flake8`` - finally, load any ``extra`` configuration files ú.Nrrz*The specified config file does not exist: ) r rÚabspathrrr0r!rÚExecutionErrorr&)r2r3r1Úpwdr+Úcfg_dirÚfilenames rÚ load_configr;9sá€õ Œ'�/Š/˜#Ñ Ô €Càð3ÝÔ+Ñ-Ô-¨sÐ2Ð2à €~Ý" 3Ñ'Ô'ˆå Ô &Ñ (Ô (€CØ ÐØ�xŠx˜¨ˆxÑ1Ô1ð ÝÔ+ØE¸VÐEÐEñôð õ”'—/’/ &Ñ)Ô)ˆˆàˆðð-ð-ˆØ �Š� GˆÑ,Ô,Ð,Ð,à �ˆ<ÐrÚoption_managerr+r9cóò—d|vriSi}|dD]å}|j |¦«}|€t d|¦«Œ:|jt us |jdkr| d|¦«}n6|jdvr| d|¦«}n| d|¦«}t d||¦«|  ||¦«}|j €J‚|||j <Œæ|S)z4Parse and normalize the typed configuration options.rNz(Option "%s" is not registered. Ignoring.Úcount>Ú store_trueÚ store_falsezOption "%s" returned value: %r) Úconfig_options_dictÚgetr$ÚdebugÚtypeÚintÚactionÚgetintÚ getbooleanÚ normalizeÚ config_name)r<r+r9Ú config_dictÚ option_nameÚoptionÚvalueÚ final_values rÚ parse_configrP`s€ð �sÐÐØˆ à€Kà˜8”}ð6ð6ˆ ØÔ3×7Ò7¸ ÑDÔDˆØ ˆ>Ý �IŠIÐ@À+Ñ NÔ NÐ NØ ð Œ;�#Ð Ð  ¤°'Ò!9Ð!9Ø—J’J˜x¨Ñ5Ô5ˆEˆEØ Œ]Ð;Ð ;Ð ;Ø—N’N 8¨[Ñ9Ô9ˆEˆEà—G’G˜H kÑ2Ô2ˆEå � Š Ð2°KÀÑGÔGÐGà×&Ò& u¨gÑ6Ô6ˆ ØÔ!Ð-Ð-Ð-Ø*5ˆ �FÔ&Ñ'Ð'à Ðr)Ú__doc__rÚloggingÚos.pathr ÚtypingrrrrrrrÚflake8.options.managerr Ú getLoggerÚ__name__r$ÚstrrErr0Úboolrr;rP©rrúr[s´ðØ'Ð'ØÐÐÐØ€€€Ø€€€ØÐÐÐÐÐØÐÐÐÐÐØÐÐÐÐÐØÐÐÐÐÐØÐÐÐÐÐàÐÐÐÐÐØ0Ð0Ð0Ð0Ð0Ð0à€gÔ˜Ñ!Ô!€ð �𠘘s C˜xœð ð ð ð ð ˜Cð H¨S¤MðððððLð $ð$ð$Ø �SŒMð$à �Œ9ð$ðð $ð  ˆ<Ô '¨Ð ,Ô-ð $ð$ð$ð$ðN Ø!ð à Ô %ð ðð ð ˆ#ˆsˆ(„^ð ð ð ð ð ð r