summaryrefslogtreecommitdiffstats
path: root/pre_commit/logging_handler.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--pre_commit/logging_handler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pre_commit/logging_handler.py b/pre_commit/logging_handler.py
index cd33953..74772be 100644
--- a/pre_commit/logging_handler.py
+++ b/pre_commit/logging_handler.py
@@ -32,7 +32,7 @@ class LoggingHandler(logging.Handler):
@contextlib.contextmanager
-def logging_handler(use_color: bool) -> Generator[None, None, None]:
+def logging_handler(use_color: bool) -> Generator[None]:
handler = LoggingHandler(use_color)
logger.addHandler(handler)
logger.setLevel(logging.INFO)