Path 1: 1009 calls (0.98)

1def close(self) -> None:
2        """Called before visiting project (i.e set of modules)."""
3        if self.linter.is_message_enabled("cyclic-import"):
4            graph = self._import_graph_without_ignored_edges()
5            vertices = list(graph)
6            for cycle in get_cycles(graph, vertices=vertices):
7                self.add_message("cyclic-import", args=" -> ".join(cycle))
            

Path 2: 14 calls (0.01)

1def close(self) -> None:
2        """Called before visiting project (i.e set of modules)."""
3        if self.linter.is_message_enabled("cyclic-import"):
4            graph = self._import_graph_without_ignored_edges()
5            vertices = list(graph)
6            for cycle in get_cycles(graph, vertices=vertices):
7                self.add_message("cyclic-import", args=" -> ".join(cycle))
            

Path 3: 3 calls (0.0)

1def close(self) -> None:
2        """Called before visiting project (i.e set of modules)."""
3        if self.linter.is_message_enabled("cyclic-import"):
4            graph = self._import_graph_without_ignored_edges()
5            vertices = list(graph)
6            for cycle in get_cycles(graph, vertices=vertices):
7                self.add_message("cyclic-import", args=" -> ".join(cycle))