diff --git a/birdvisu/providers.py b/birdvisu/providers.py index ec96706..e9c04af 100644 --- a/birdvisu/providers.py +++ b/birdvisu/providers.py @@ -256,8 +256,7 @@ class OspfFileTopologyParser: # Same as for networks: we must create the edges in bulk at the end, # since there may be multiedges. future_edges: dict[tuple[VertexID, int, MetricType, bool], int] = defaultdict(lambda: 0) - # mypy 1.3.0 wtf. - future_transit_networks = dict[tuple[str, int], int] = defaultdict(lambda: 0) + future_transit_networks: dict[tuple[str, int], int] = defaultdict(lambda: 0) for line, chld in syntree: tag, *det = line.split() if tag in ['distance', 'unreachable']: continue