MCPcopy Create free account
hub / github.com/PyCQA/isort / __init__

Method __init__

isort/exceptions.py:93–99  ·  view source on GitHub ↗
(self, sort_order: str, available_sort_orders: list[str])

Source from the content-addressed store, hash-verified

91 """Raised when the specified sorting function isn't available"""
92
93 def __init__(self, sort_order: str, available_sort_orders: list[str]):
94 super().__init__(
95 f"Specified sort_order of {sort_order} does not exist. "
96 f"Available sort_orders: {','.join(available_sort_orders)}."
97 )
98 self.sort_order = sort_order
99 self.available_sort_orders = available_sort_orders
100
101
102class FormattingPluginDoesNotExist(ISortError):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected