MCPcopy
hub / github.com/python/mypy / build_increment

Method build_increment

mypy/test/testmerge.py:123–130  ·  view source on GitHub ↗
(
        self, manager: FineGrainedBuildManager, module_id: str, path: str
    )

Source from the content-addressed store, hash-verified

121 return result
122
123 def build_increment(
124 self, manager: FineGrainedBuildManager, module_id: str, path: str
125 ) -> tuple[MypyFile, dict[Expression, Type]]:
126 manager.flush_cache()
127 manager.update([(module_id, path)], [])
128 module = manager.manager.modules[module_id]
129 type_map = manager.graph[module_id].type_map()
130 return module, type_map
131
132 def dump(
133 self, manager: FineGrainedBuildManager, kind: str, test_modules: list[str]

Callers 1

run_caseMethod · 0.95

Calls 3

flush_cacheMethod · 0.80
type_mapMethod · 0.80
updateMethod · 0.45

Tested by

no test coverage detected