From eeea3470258723ff1acd8157222665f096d83fb2 Mon Sep 17 00:00:00 2001 From: Sean Breckenridge Date: Wed, 22 Feb 2023 05:21:23 -0800 Subject: [PATCH] mypy ignore --- my/location/fallback/via_ip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/my/location/fallback/via_ip.py b/my/location/fallback/via_ip.py index 72585db..98197c2 100644 --- a/my/location/fallback/via_ip.py +++ b/my/location/fallback/via_ip.py @@ -71,7 +71,7 @@ def estimate_location(dt: DateExact) -> Iterator[FallbackLocation]: # search to find the first possible location which contains dt (something that started up to # config.for_duration ago, and ends after dt) - idx = bisect.bisect_left(fl, dt_ts - config.for_duration.total_seconds(), key=lambda l: l.dt.timestamp()) # type: ignore[operator] + idx = bisect.bisect_left(fl, dt_ts - config.for_duration.total_seconds(), key=lambda l: l.dt.timestamp()) # type: ignore[operator,call-arg,type-var] # all items are before the given dt if idx == len(fl):