From def9cca1d8f1a8959b4f943a9d7645cc7d55133c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 19 Aug 2024 17:07:36 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- fsutil/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fsutil/__init__.py b/fsutil/__init__.py index 9df61d6..91c5a6e 100644 --- a/fsutil/__init__.py +++ b/fsutil/__init__.py @@ -1045,7 +1045,7 @@ def _read_file_lines_in_range( line_start: int = 0, line_end: int = -1, encoding: str = "utf-8", -) -> Generator[str, None, None]: +) -> Generator[str]: path = _get_path(path) line_start_negative = line_start < 0 line_end_negative = line_end < 0