ȀaL( > d dl Z d dlZd dlmZ G d de ZdS ) N) Formatterc e Zd ZdZddZdS )VSCodeFormatterz^ This formatter outputs messages in the same way as vscode prospector linter expects. TFc ( d }g }t | j D ]}||j j k r~|j j }| |j j t j j d }t j dd| }d|z }| | d} | | |j j |j j |j |j |j dz d | S )N.z(\.__init__)?\.py$ z************* Module %sz?%(line)s,%(character)s,%(code)s,%(code)s:%(source)s %(message)s)line charactersourcecodemessage )sortedmessageslocationpath _make_pathreplaceossepresubappendr r r r r stripjoin) selfsummaryr profilecur_locoutputr module_nameheadertemplates n/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/prospector/formatters/vscode.pyrenderzVSCodeFormatter.render s dm,, G'*///!*/"oog.>.CDDLLRW[Z]^^ f%:BLL2[@ f%%%XHMM#,1!(!1!;%n#L&4466 yy N)TTF)__name__ __module____qualname____doc__r% r&