Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/pylint/reporters/__pycache__/base_reporter.cpython-39.pyc
Ðазад
a n�h� � @ s~ d dl mZ d dlZd dlZd dlmZmZ d dlmZ d dl m Z d dlmZ erld dl mZ d dl mZ G d d � d �ZdS )� )�annotationsN)� TYPE_CHECKING�TextIO)�Message)�Text)�LinterStats)�PyLinter)�Sectionc @ s� e Zd ZdZdZdZd$ddd�dd �Zd dd�dd �Zd%ddd�dd�Zddd�dd�Z ddd�dd�Z ddd�dd�Zdddd�dd�Zdd dd!�d"d#�Z dS )&�BaseReporterzTBase class for reporters. symbols: show short symbolic names for messages. � �baseNz TextIO | None�None)�output�returnc C s0 | d| _ |ptj| _g | _t�� tj | _d S )Nr ) �section�sys�stdout�out�messages�os�getcwd�sepZpath_strip_prefix)�selfr � r ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/pylint/reporters/base_reporter.py�__init__ s zBaseReporter.__init__r )�msgr c C s | j �|� dS )z3Handle a new message triggered on the current file.N)r �append)r r r r r �handle_message'