Path 1: 1132 calls (1.0)

dict (807) {} (325)

None (1132)

1def _check_globals(self, not_consumed: dict[str, nodes.NodeNG]) -> None:
2        if self._allow_global_unused_variables:
3            return
4        for name, node_lst in not_consumed.items():
5            for node in node_lst:
6                self.add_message("unused-variable", args=(name,), node=node)
            

Path 2: 3 calls (0.0)

dict (3)

1def _check_globals(self, not_consumed: dict[str, nodes.NodeNG]) -> None:
2        if self._allow_global_unused_variables:
3            return
4        for name, node_lst in not_consumed.items():
5            for node in node_lst:
6                self.add_message("unused-variable", args=(name,), node=node)