MCPcopy Index your code
hub / github.com/python/mypy / __init__

Method __init__

mypy/report.py:713–719  ·  view source on GitHub ↗
(self, reports: Reports, output_dir: str)

Source from the content-addressed store, hash-verified

711 """Internal abstract class for reporters that work via XML."""
712
713 def __init__(self, reports: Reports, output_dir: str) -> None:
714 super().__init__(reports, output_dir)
715
716 memory_reporter = reports.add_report("memory-xml", "<memory>")
717 assert isinstance(memory_reporter, MemoryXmlReporter)
718 # The dependency will be called first.
719 self.memory_xml = memory_reporter
720
721
722class XmlReporter(AbstractXmlReporter):

Callers

nothing calls this directly

Calls 3

isinstanceFunction · 0.85
add_reportMethod · 0.80
__init__Method · 0.45

Tested by

no test coverage detected