Hacked By AnonymousFox

Current Path : /opt/cloudlinux/venv/lib64/python3.11/site-packages/prospector/formatters/__pycache__/
Upload File :
Current File : //opt/cloudlinux/venv/lib64/python3.11/site-packages/prospector/formatters/__pycache__/vscode.cpython-311.pyc

�

�܋f��>�ddlZddlZddlmZGd�de��ZdS)�N)�	Formatterc��eZdZdZdd�ZdS)�VSCodeFormatterz^
    This formatter outputs messages in the same way as vscode prospector linter expects.
    TFc
�(�d}g}t|j��D]�}||jjkr~|jj}|�|jj���tjjd��}tj	dd|��}d|z}|�
|��d}	|�
|	|jj|jj|j
|j|j���d�z����d�|��S)N�.z(\.__init__)?\.py$�z************* Module %sz?%(line)s,%(character)s,%(code)s,%(code)s:%(source)s %(message)s)�line�	character�source�code�message�
)�sorted�messages�location�path�
_make_path�replace�os�sep�re�sub�appendr	r
rrr
�strip�join)
�self�summaryr�profile�cur_loc�outputr
�module_name�header�templates
          �m/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/prospector/formatters/vscode.py�renderzVSCodeFormatter.render
s�������d�m�,�,�	�	�G��'�*�/�/�/�!�*�/��"�o�o�g�.>�.C�D�D�L�L�R�W�[�Z]�^�^�� �f�%:�B��L�L��2�[�@���
�
�f�%�%�%�X�H��M�M��#�,�1�!(�!1�!;�%�n�#�L�&��4�4�6�6����	
�	
�	
�	
��y�y�� � � �N)TTF)�__name__�
__module__�__qualname__�__doc__r%�r&r$rrs2��������!�!�!�!�!�!r&r)rr�prospector.formatters.baserrr+r&r$�<module>r-s]��	�	�	�	�	�	�	�	�0�0�0�0�0�0� !� !� !� !� !�i� !� !� !� !� !r&

Hacked By AnonymousFox1.0, Coded By AnonymousFox