§
    øyIfÙ  ã                  óf   — d Z ddlmZ ddlZddlZddlmZ ddlmZ  ej	        e
¦  «        Zdd„ZdS )z7Functions for constructing the requested report plugin.é    )ÚannotationsN)ÚBaseFormatter)ÚLoadedPluginÚ	reportersúdict[str, LoadedPlugin]Úoptionsúargparse.NamespaceÚreturnr   c                óê   — |j         }|j        dk    rd}n|j        dk    rd}	 | |         }n3# t          $ r& t                               d|¦  «         | d         }Y nw xY w|                     |¦  «        S )a›  Make the formatter from the requested user options.

    - if :option:`flake8 --quiet` is specified, return the ``quiet-filename``
      formatter.
    - if :option:`flake8 --quiet` is specified at least twice, return the
      ``quiet-nothing`` formatter.
    - otherwise attempt to return the formatter by name.
    - failing that, assume it is a format string and return the ``default``
      formatter.
    é   zquiet-filenameé   zquiet-nothingz5%r is an unknown formatter.  Falling back to default.Údefault)ÚformatÚquietÚKeyErrorÚLOGÚwarningÚobj)r   r   Úformat_nameÚformat_plugins       úK/var/www/piapp/venv/lib/python3.11/site-packages/flake8/plugins/reporter.pyÚmaker      sŸ   € ð ”.€KØ„}˜ÒÐØ&ˆˆØ	Œ˜!Ò	Ð	Ø%ˆð-Ø! +Ô.ˆˆøÝð -ð -ð -Ý�ŠØCØñ	
ô 	
ð 	
ð " )Ô,ˆˆˆð-øøøð ×Ò˜WÑ%Ô%Ð%s   ¤- ­-AÁA)r   r   r   r	   r
   r   )Ú__doc__Ú
__future__r   ÚargparseÚloggingÚflake8.formatting.baser   Úflake8.plugins.finderr   Ú	getLoggerÚ__name__r   r   © ó    r   ú<module>r#      sƒ   ðØ =Ð =Ø "Ð "Ð "Ð "Ð "Ð "à €€€Ø €€€à 0Ð 0Ð 0Ð 0Ð 0Ð 0Ø .Ð .Ð .Ð .Ð .Ð .à€gÔ˜Ñ!Ô!€ð&ð &ð &ð &ð &ð &r"   