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

Method __init__

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

Source from the content-addressed store, hash-verified

616 """Reporter for generating Cobertura compliant XML."""
617
618 def __init__(self, reports: Reports, output_dir: str) -> None:
619 super().__init__(reports, output_dir)
620
621 self.root = etree.Element("coverage", timestamp=str(int(time.time())), version=__version__)
622 self.doc = etree.ElementTree(self.root)
623 self.root_package = CoberturaPackage(".")
624
625 def on_file(
626 self,

Callers

nothing calls this directly

Calls 4

strClass · 0.85
intClass · 0.85
CoberturaPackageClass · 0.85
__init__Method · 0.45

Tested by

no test coverage detected