Skip to content

Commit 13b424c

Browse files
committed
mypy
1 parent fe710ef commit 13b424c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cylc/flow/graph_parser.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -473,9 +473,9 @@ def parse_graph(self, graph_string: str) -> None:
473473
# Get a set of RH nodes which are not at the LH of another pair:
474474
# terminals = {p[1] for p in pairs}.difference({p[0] for p in pairs})
475475

476-
check_terminals = {}
477-
lefts = set()
478-
rights = set()
476+
check_terminals: Dict[str, str] = {}
477+
lefts: Set[str] = set()
478+
rights: Set[str] = set()
479479

480480
for pair in sorted(pairs, key=lambda p: str(p[0])):
481481
self._proc_dep_pair(pair, check_terminals, lefts, rights)

0 commit comments

Comments
 (0)