관리-도구
편집 파일: graph.cpython-311.pyc
� �܋f� � � � d Z ddlmZ ddlZddlZddlZddlZddlZddlm Z ddl mZ dd �Z G d� d� � Z dd�Z d d!d�Zd"d�ZdS )#z^Graph manipulation utilities. (dot generation adapted from pypy/translator/tool/make_dot.py) � )�annotationsN)�Sequence)�Any�filename�str�return�tuple[str, str, str]c � � t j � | � � }t j � t j � | � � � � }t j � | � � d dd� }|||fS )zDTransforms /some/path/foo.png into ('/some/path', 'foo.png', 'png').���� N)�os�path�basename�dirname�abspath�splitext)r r �storedir�targets �]/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/pylint/graph.py�target_info_from_filenamer sh � ��w����)�)�H��w���r�w���x�8�8�9�9�H� �W� � �h� '� '�� +�A�B�B� /�F��X�v�%�%� c �j � e Zd ZdZ dd d�Zd!d�Z ee� � Z d"d#d�Zd$d�Z d%d�Z d&d�ZdS )'� DotBackendzDot File back-end.N�utf-8�dot� graphnamer �rankdir� str | None�sizer �ratio�charset�renderer�additional_param�dict[str, Any] | Noner �Nonec �* � |�i }|| _ || _ g | _ d | _ | � dt |� � � d�� � |r| � d|� �� � |r| � d|� �� � |r| � d|� d�� � |r<|� � � dv s J d|� �� � �| � d |� d�� � |� � � D ]*}| � d � |� � � � �+d S )Nzdigraph z {zrankdir=zratio=zsize="�"> � iso-8859-1�latin1r zunsupported charset z charset="�=) r r"