summaryrefslogtreecommitdiffstats
path: root/pre_commit/meta_hooks
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-12-11 08:29:45 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-12-11 08:29:45 +0000
commitbfb804ed317bbbd1e0089c80c1b1d3510185bca6 (patch)
tree93ee86b21565e569256a09e651a10c08befcd4b8 /pre_commit/meta_hooks
parentAdding upstream version 3.5.0. (diff)
downloadpre-commit-bfb804ed317bbbd1e0089c80c1b1d3510185bca6.tar.xz
pre-commit-bfb804ed317bbbd1e0089c80c1b1d3510185bca6.zip
Adding upstream version 3.6.0.upstream/3.6.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'pre_commit/meta_hooks')
-rw-r--r--pre_commit/meta_hooks/check_hooks_apply.py2
-rw-r--r--pre_commit/meta_hooks/check_useless_excludes.py4
-rw-r--r--pre_commit/meta_hooks/identity.py2
3 files changed, 4 insertions, 4 deletions
diff --git a/pre_commit/meta_hooks/check_hooks_apply.py b/pre_commit/meta_hooks/check_hooks_apply.py
index 7f491a2..84c142b 100644
--- a/pre_commit/meta_hooks/check_hooks_apply.py
+++ b/pre_commit/meta_hooks/check_hooks_apply.py
@@ -1,7 +1,7 @@
from __future__ import annotations
import argparse
-from typing import Sequence
+from collections.abc import Sequence
import pre_commit.constants as C
from pre_commit import git
diff --git a/pre_commit/meta_hooks/check_useless_excludes.py b/pre_commit/meta_hooks/check_useless_excludes.py
index 8b0c106..664251a 100644
--- a/pre_commit/meta_hooks/check_useless_excludes.py
+++ b/pre_commit/meta_hooks/check_useless_excludes.py
@@ -2,8 +2,8 @@ from __future__ import annotations
import argparse
import re
-from typing import Iterable
-from typing import Sequence
+from collections.abc import Iterable
+from collections.abc import Sequence
from cfgv import apply_defaults
diff --git a/pre_commit/meta_hooks/identity.py b/pre_commit/meta_hooks/identity.py
index 72ee440..3e20bbc 100644
--- a/pre_commit/meta_hooks/identity.py
+++ b/pre_commit/meta_hooks/identity.py
@@ -1,7 +1,7 @@
from __future__ import annotations
import sys
-from typing import Sequence
+from collections.abc import Sequence
from pre_commit import output