Make mypy happier

This commit is contained in:
Edward Betts 2024-08-03 14:51:30 +08:00
parent f423fcdcbe
commit 7cdb6903fc

View file

@ -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":