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

Method __init__

mypy/report.py:59–65  ·  view source on GitHub ↗
(self, data_dir: str, report_dirs: dict[str, str])

Source from the content-addressed store, hash-verified

57
58class Reports:
59 def __init__(self, data_dir: str, report_dirs: dict[str, str]) -> None:
60 self.data_dir = data_dir
61 self.reporters: list[AbstractReporter] = []
62 self.named_reporters: dict[str, AbstractReporter] = {}
63
64 for report_type, report_dir in sorted(report_dirs.items()):
65 self.add_report(report_type, report_dir)
66
67 def add_report(self, report_type: str, report_dir: str) -> AbstractReporter:
68 try:

Callers 10

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls 3

add_reportMethod · 0.95
sortedFunction · 0.85
itemsMethod · 0.45

Tested by

no test coverage detected