From 238de1de3a9536b44b55b82857f01b9e71886cbb Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 29 Apr 2024 19:26:04 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/range_streams/http_utils.py | 1 + src/range_streams/overlaps.py | 1 + 2 files changed, 2 insertions(+) diff --git a/src/range_streams/http_utils.py b/src/range_streams/http_utils.py index df19555..fa46448 100644 --- a/src/range_streams/http_utils.py +++ b/src/range_streams/http_utils.py @@ -14,6 +14,7 @@ `_ header returned by the server contains the total size of the file from which the range was taken). """ + from __future__ import annotations from typing import TYPE_CHECKING diff --git a/src/range_streams/overlaps.py b/src/range_streams/overlaps.py index 8ba19b5..6a22555 100644 --- a/src/range_streams/overlaps.py +++ b/src/range_streams/overlaps.py @@ -10,6 +10,7 @@ __all__ = ["get_range_containing", "overlap_whence"] + # This could be written more clearly by using a range_utils helper function shared with # most_recent_range def get_range_containing(rng_dict: RangeDict, position: int) -> Range: