mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 00:04:42 +04:00
remove imports from TYPE_CHECKING (py37+)
Committed via https://github.com/asottile/all-repos
This commit is contained in:
parent
170335cbb6
commit
d8b59300ce
2 changed files with 2 additions and 8 deletions
|
|
@ -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]:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue