관리-도구
편집 파일: _manager.cpython-311.pyc
� �܋fF � �< � d dl mZ d dlZd dlZd dlZd dlZd dlmZ d dlmZ d dlm Z d dlm Z d dlmZ d dlmZ d d lm Z d dlmZ d dlmZ d d lmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ ej dk rd dlm Z! nd dl!Z!e rd dl"m#Z# d dlm$Z$m%Z% ee&ee ee&ef gdf Z'eee e&ee ee&ef gdf Z(d+d!�Z) G d"� d#e*� � Z+ G d$� d%� � Z, G d&� d'� � Z-d,d*�Z.dS )-� )�annotationsN)�Any)�Callable)�cast)�Iterable)�Mapping)�Sequence)� TYPE_CHECKING� )�_tracing)� _multicall)�_HookCaller)�_HookImplFunction)� _HookRelay)� _Namespace)�_Plugin)�_SubsetHookCaller)�HookImpl)�HookSpec)�normalize_hookimpl_opts)�_Result)� � ��metadata)�Final)� _HookImplOpts� _HookSpecOpts�warning�Warning�function�Callable[..., object]�return�Nonec � � t t j |� � }t j | t | � � |j j |j j �� � d S )N)�lineno�filename) r �types�FunctionType�warnings� warn_explicit�type�__code__�co_firstlineno�co_filename)r r! �funcs �`/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/pluggy/_manager.py�_warn_for_functionr2 * sT � ���"�H�-�-�D�����W� � ��}�+���*� � � � � � � c �$ � � e Zd ZdZd � fd�Z� xZS ) �PluginValidationErrorzVPlugin failed validation. :param plugin: The plugin which failed validation. �pluginr �message�strr# r$ c �X �� t � � � |� � || _ d S �N)�super�__init__r6 )�selfr6 r7 � __class__s �r1 r<