Method: pylint.checkers.imports._make_graph
Calls: 3, Exceptions: 0, Paths: 1Back
Path 1: 3 calls (1.0)
'import.dot' (1) 'ext_import.dot' (1) 'int_import.dot' (1)
defaultdict (2) dict (1)
Section (3)
'' (1) 'external ' (1) 'internal ' (1)
1def _make_graph(
2 filename: str, dep_info: dict[str, set[str]], sect: Section, gtype: str
3) -> None:
4 """Generate a dependencies graph and add some information about it in the
5 report's section.
6 """
7 outputfile = _dependencies_graph(filename, dep_info)
8 sect.append(Paragraph((f"{gtype}imports graph has been written to {outputfile}",)))