XylotrechusZ
�
� h� � �
� d Z ddlmZ ddlmZ ddlmZmZmZm Z m
Z
ddlmZ G d� de� � Z
G d � d
e
� � Z G d� de
� � Z G d
� de
� � Z G d� de
� � Z G d� de� � Z G d� de� � Z G d� de
� � Z G d� de
� � Z G d� de
� � Z G d� de
� � Z G d� de
� � Z G d� d e
� � Z G d!� d"e
� � Z G d#� d$e
� � Z G d%� d&e
� � Zd'S )(z;All isort specific exception classes should be defined here� )�partial)�Path)�Any�Dict�List�Type�Union� )�profilesc � � e Zd ZdZd� ZdS )�
ISortErrorzRBase isort exception object from which all isort sourced exceptions should inheritc �D � t t | � � fi | j ��dfS )N� )r �type�__dict__)�selfs �a/builddir/build/BUILD/cloudlinux-venv-1.0.8/venv/lib/python3.11/site-packages/isort/exceptions.py�
__reduce__zISortError.__reduce__ s% � ���T�
�
�4�4�d�m�4�4�b�9�9� N)�__name__�
__module__�__qualname__�__doc__r r r r r
r
s) � � � � � �\�\�:� :� :� :� :r r
c �( � � e Zd ZdZdef� fd�Z� xZS )�InvalidSettingsPathzQRaised when a settings path is provided that is neither a valid file or directory�
settings_pathc �` �� t � � � d|� d�� � || _ d S )Nz)isort was told to use the settings_path: zr as the base directory or file that represents the starting point of config file discovery, but it does not exist.)�super�__init__r )r r � __class__s �r r zInvalidSettingsPath.__init__ sE �� �
�����
�
�
�
�
�
�
�
�
+����r �r r r r �strr �
__classcell__�r s @r r r sJ �� � � � � �[�[�+�c� +� +� +� +� +� +� +� +� +� +r r c �( � � e Zd ZdZdef� fd�Z� xZS )�ExistingSyntaxErrorszURaised when isort is told to sort imports within code that has existing syntax errors� file_pathc �` �� t � � � d|� d�� � || _ d S )NzHisort was told to sort imports within code that contains syntax errors: �.�r r r'