Uname : Linux premium36.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Soft : LiteSpeed
Ip : 198.54.115.237
Port : 443
~
/
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
pylint
/
reporters
/
__pycache__
[ HOME ]
Exec
Submit
File Name : base_reporter.cpython-311.pyc
� � h� � � � d dl mZ d dlZd dlZd dlZd dlmZmZ d dlmZ d dl m Z d dlmZ d dl mZ erd dlmZ d d lmZ G d � d� � ZdS )� )�annotationsN)� TYPE_CHECKING�TextIO)�warn)�Message)�Text)�LinterStats)�PyLinter)�Sectionc �j � e Zd ZdZdZdZ d d!d �Zd"d�Zd d!d �Zd#d$d�Z d%d�Z d%d�Zd&d�Zd'd�Z d(d�ZdS ))�BaseReporterzTBase class for reporters. symbols: show short symbolic names for messages. � �baseN�output� TextIO | None�return�Nonec �� � t | dd � � rt j dt d�� � | d| _ |pt j | _ g | _ t j � � t j z | _ d S )N�__implements__z�Using the __implements__ inheritance pattern for BaseReporter is no longer supported. Child classes should only inherit BaseReporter� �� stacklevelr ) �getattr�warningsr �DeprecationWarning�section�sys�stdout�out�messages�os�getcwd�sep�path_strip_prefix��selfr s �o/builddir/build/BUILD/cloudlinux-venv-1.0.8/venv/lib/python3.11/site-packages/pylint/reporters/base_reporter.py�__init__zBaseReporter.__init__! s{ � ��4�)�4�0�0� ��M�S�"�� � � � � �����!�/�S�Z���')�� �!#����r�v�!5����� �msgr c �: � | j � |� � dS )z3Handle a new message triggered on the current file.N)r �append)r&