MCPcopy
hub / github.com/PyCQA/isort / ExistingSyntaxErrors

Class ExistingSyntaxErrors

isort/exceptions.py:29–36  ·  view source on GitHub ↗

Raised when isort is told to sort imports within code that has existing syntax errors

Source from the content-addressed store, hash-verified

27
28
29class ExistingSyntaxErrors(ISortError):
30 """Raised when isort is told to sort imports within code that has existing syntax errors"""
31
32 def __init__(self, file_path: str):
33 super().__init__(
34 f"isort was told to sort imports within code that contains syntax errors: {file_path}."
35 )
36 self.file_path = file_path
37
38
39class IntroducedSyntaxErrors(ISortError):

Callers 2

processFunction · 0.85
sort_streamFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…