§ |<ˆjÔ2 ã óX — d Z ddlZddlZddlZddlZddlZddlmZ ddlmZ ddlm Z ddlm Z ddlmZ ddlmZ ddl Z dd l mZ dd l mZ ddl mZ ddl mZ dd l mZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ej e ¦ « Z! G d„ d¦ « Z"dS )z3Module containing the application logic for Flake8.é N)ÚDict)ÚList)ÚOptional)ÚSequence)ÚSet)ÚTuple)Úchecker)Údefaults)Ú exceptions)Ústyle_guide)Úutils)Ú BaseFormatter)Údebug)Úoptions)Ú aggregator)Úconfig)Úmanager)Úfinder)Úreporterc óp — e Zd ZdZdd„Zdee deej e e f fd„Zdefd„Z dej d ed ee dee ddf d„Zdd „Zdej d ede e ddfd„Zdd„Zdd„Zdd„Zdd„Zdd„Zdd„Zdd„Zdee ddfd„Zdd„Zdee ddfd„Zdee ddfd„ZdS )ÚApplicationz&Abstract our application into a class.ÚreturnNc ó — t j ¦ « | _ d| _ t j ¦ « | _ d| _ d| _ d| _ d| _ d| _ d| _ d| _ d| _ d| _ i | _ dS )zInitialize our application.Nr F)ÚtimeÚ start_timeÚend_timer Ústage1_arg_parserÚprelim_arg_parserÚoption_managerÚpluginsÚ formatterÚguideÚfile_checker_managerÚresult_countÚtotal_result_countÚcatastrophic_failureÚparsed_diff©Úselfs úi/builddir/build/BUILD/cloudlinux-venv-1.0.12/venv/lib/python3.11/site-packages/flake8/main/application.pyÚ__init__zApplication.__init__$ s’ € õ œ)™+œ+ˆŒà)-ˆŒ õ ")Ô!:Ñ!<Ô!<ˆÔð @DˆÔà15ˆŒà26ˆŒð ?CˆŒ ð @DˆÔ!ð 6:ˆŒð ˆÔð #$ˆÔð %*ˆÔ!ð 13ˆÔÐÐó Úargvc óŠ — | j |¦ « \ }}|j r| d|j f¦ « ||fS )a% Get preliminary options from the CLI, pre-plugin-loading. We need to know the values of a few standard options so that we can locate configuration files and configure logging. Since plugins aren't loaded yet, there may be some as-yet-unknown options; we ignore those for now, they'll be parsed later when we do real option parsing. :param argv: Command-line arguments passed in directly. :returns: Populated namespace and list of remaining argument strings. z --output-file)r Úparse_known_argsÚoutput_fileÚextend)r) r- ÚargsÚrests r* Úparse_preliminary_optionsz%Application.parse_preliminary_optionsK sO € ð" Ô+×<Ò<¸TÑBÔB‰ ˆˆdð Ôð =Ø�KŠK˜¨$Ô*:Ð;Ñ<Ô<Ð<Ø�TˆzÐr, c ór — | j rdS | j €J ‚| j j rdS t | j dk ¦ « S )zReturn the program exit code.é Nr )r&