Hacked By AnonymousFox

Current Path : /opt/cloudlinux/venv/lib64/python3.11/site-packages/flake8/plugins/__pycache__/
Upload File :
Current File : //opt/cloudlinux/venv/lib64/python3.11/site-packages/flake8/plugins/__pycache__/reporter.cpython-311.pyc

�

�܋f����dZddlZddlZddlmZddlmZddlmZej	e
��Zdeeefdej
defd	�ZdS)
z6Functions for construcing the requested report plugin.�N)�Dict)�
BaseFormatter)�LoadedPlugin�	reporters�options�returnc���|j}|jdkrd}n
|jdkrd}	||}n3#t$r&t�d|��|d}YnwxYw|�|��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.
    �zquiet-filename�z
quiet-nothingz5%r is an unknown formatter.  Falling back to default.�default)�format�quiet�KeyError�LOG�warning�obj)rr�format_name�
format_plugins    �h/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/flake8/plugins/reporter.py�makers����.�K��}����&���	��!�	�	�%��-�!�+�.�
�
���-�-�-����C��	
�	
�	
�"�)�,�
�
�
�-�������W�%�%�%s�-�-A�A)�__doc__�argparse�logging�typingr�flake8.formatting.baser�flake8.plugins.finderr�	getLogger�__name__r�str�	Namespacer��r�<module>r#s���<�<���������������0�0�0�0�0�0�.�.�.�.�.�.��g���!�!��&��C��%�&�&�
�
�&��&�&�&�&�&�&r"

Hacked By AnonymousFox1.0, Coded By AnonymousFox