From 7cdb6903fc7b2a4e8aa0e97b275ffa7c6d6170de Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Sat, 3 Aug 2024 14:51:30 +0800 Subject: [PATCH] Make mypy happier --- agenda/trip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agenda/trip.py b/agenda/trip.py index 616e29e..4ce6eca 100644 --- a/agenda/trip.py +++ b/agenda/trip.py @@ -286,7 +286,7 @@ def read_geojson(data_dir: str, filename: str) -> str: def get_trip_routes(trip: Trip) -> list[StrDict]: """Get routes for given trip to show on map.""" - routes = [] + routes: list[StrDict] = [] seen_geojson = set() for t in trip.travel: if t["type"] == "ferry":