diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-07-14 13:16:19 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-07-14 13:16:19 +0000 |
commit | dea1ff8e8ce88840434d53977ff62683240f5b8f (patch) | |
tree | 60da4e1c735a2d2d89907609c5bb1b1638c4c648 /pre_commit/languages/helpers.py | |
parent | Adding upstream version 2.19.0. (diff) | |
download | pre-commit-dea1ff8e8ce88840434d53977ff62683240f5b8f.tar.xz pre-commit-dea1ff8e8ce88840434d53977ff62683240f5b8f.zip |
Adding upstream version 2.20.0.upstream/2.20.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'pre_commit/languages/helpers.py')
-rw-r--r-- | pre_commit/languages/helpers.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/pre_commit/languages/helpers.py b/pre_commit/languages/helpers.py index 05a7165..0be08b5 100644 --- a/pre_commit/languages/helpers.py +++ b/pre_commit/languages/helpers.py @@ -5,9 +5,9 @@ import os import random import re from typing import Any +from typing import NoReturn from typing import overload from typing import Sequence -from typing import TYPE_CHECKING import pre_commit.constants as C from pre_commit import parse_shebang @@ -16,9 +16,6 @@ from pre_commit.prefix import Prefix from pre_commit.util import cmd_output_b from pre_commit.xargs import xargs -if TYPE_CHECKING: - from typing import NoReturn - FIXED_RANDOM_SEED = 1542676187 SHIMS_RE = re.compile(r'[/\\]shims[/\\]') |