summaryrefslogtreecommitdiffstats
path: root/pre_commit/parse_shebang.py
diff options
context:
space:
mode:
Diffstat (limited to 'pre_commit/parse_shebang.py')
-rw-r--r--pre_commit/parse_shebang.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/pre_commit/parse_shebang.py b/pre_commit/parse_shebang.py
index 3fd3129..3ac933c 100644
--- a/pre_commit/parse_shebang.py
+++ b/pre_commit/parse_shebang.py
@@ -2,13 +2,10 @@ from __future__ import annotations
import os.path
from typing import Mapping
-from typing import TYPE_CHECKING
+from typing import NoReturn
from identify.identify import parse_shebang_from_file
-if TYPE_CHECKING:
- from typing import NoReturn
-
class ExecutableNotFoundError(OSError):
def to_output(self) -> tuple[int, bytes, None]: