From dea1ff8e8ce88840434d53977ff62683240f5b8f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 14 Jul 2022 15:16:19 +0200 Subject: Adding upstream version 2.20.0. Signed-off-by: Daniel Baumann --- pre_commit/parse_shebang.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'pre_commit/parse_shebang.py') 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]: -- cgit v1.2.3