sX~0% 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)AnyDictListTypeUnion )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 b/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/isort/exceptions.py __reduce__zISortError.__reduce__ s% T 44dm44b99 N)__name__ __module____qualname____doc__r r r r r r s) \\: : : : :r r c ( e Zd ZdZdef fdZ 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 fdZ 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' r r' r s r r zExistingSyntaxErrors.__init__ C #r r! r$ s @r r&