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

Method _make_manager

mypy/test/testgraph.py:87–109  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

85 assert_equal(sccs, {frozenset({"A"}), frozenset({"B", "C"}), frozenset({"D"})})
86
87 def _make_manager(self) -> BuildManager:
88 options = Options()
89 options.use_builtins_fixtures = True
90 errors = Errors(options)
91 fscache = FileSystemCache()
92 search_paths = SearchPaths((), (), (), ())
93 manager = BuildManager(
94 data_dir="",
95 search_paths=search_paths,
96 ignore_prefix="",
97 source_set=BuildSourceSet([]),
98 reports=Reports("", {}),
99 options=options,
100 version_id=__version__,
101 plugin=Plugin(options),
102 plugins_snapshot={},
103 errors=errors,
104 flush_errors=lambda filename, msgs, serious: None,
105 fscache=fscache,
106 stdout=sys.stdout,
107 stderr=sys.stderr,
108 )
109 return manager
110
111 def test_sorted_components(self) -> None:
112 manager = self._make_manager()

Callers 2

test_order_asccMethod · 0.95

Calls 8

OptionsClass · 0.90
ErrorsClass · 0.90
FileSystemCacheClass · 0.90
SearchPathsClass · 0.90
BuildManagerClass · 0.90
ReportsClass · 0.90
PluginClass · 0.90
BuildSourceSetClass · 0.85

Tested by

no test coverage detected