관리-도구
편집 파일: report_functions.cpython-311.pyc
� �܋f� � �j � d dl mZ d dlZd dlmZ d dlmZmZ d dlmZm Z d dl mZ dd�Zdd�Z dd�ZdS )� )�annotationsN)�defaultdict)�checkers� exceptions)�Section�Table)�LinterStats�sectr �statsr �previous_stats�LinterStats | None�return�Nonec � � g d�}|t j ||d� � z }| � t |dd�� � � � dS )z$Make total errors / warnings report.)�type�number�previous� difference� message_types� � ��children�cols�rheadersN)r �table_lines_from_stats�appendr )r r r �liness �m/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/pylint/lint/report_functions.py�report_total_messages_statsr sO � � 9�8�8�E� �X� ,�U�N�O� T� T�T�E��K�K��u�1�q�9�9�9�:�:�:�:�:� �_c � � |j }t d� |� � � D � � � � }|� � � ddg}|D ]\ }}||t |� � gz }�| � t |dd�� � � � dS )zMake messages type report.c 3 �N K � | ] \ }}|� d � � �||fV � �!dS )�IN)� startswith)�.0�msg_id�values r � <genexpr>z(report_messages_stats.<locals>.<genexpr>! sR � � � � � ��F�E�� � ��%�%�� ���� � � � � r! z message id�occurrences� r r N)�by_msg�sorted�items�reverse�strr r )r r r"