summaryrefslogtreecommitdiffstats
path: root/pre_commit/staged_files_only.py
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/staged_files_only.py
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/staged_files_only.py')
-rw-r--r--pre_commit/staged_files_only.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pre_commit/staged_files_only.py b/pre_commit/staged_files_only.py
index 8812356..fd28e1c 100644
--- a/pre_commit/staged_files_only.py
+++ b/pre_commit/staged_files_only.py
@@ -4,7 +4,7 @@ import contextlib
import logging
import os.path
import time
-from typing import Generator
+from collections.abc import Generator
from pre_commit import git
from pre_commit.errors import FatalError