Make mypy happier
This commit is contained in:
parent
f423fcdcbe
commit
7cdb6903fc
|
@ -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":
|
||||
|
|
Loading…
Reference in a new issue