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

Method __init__

mypy/find_sources.py:98–104  ·  view source on GitHub ↗
(self, fscache: FileSystemCache, options: Options)

Source from the content-addressed store, hash-verified

96
97class SourceFinder:
98 def __init__(self, fscache: FileSystemCache, options: Options) -> None:
99 self.fscache = fscache
100 self.explicit_package_bases = get_explicit_package_bases(options)
101 self.namespace_packages = options.namespace_packages
102 self.exclude = options.exclude
103 self.exclude_gitignore = options.exclude_gitignore
104 self.verbosity = options.verbosity
105
106 def is_explicit_package_base(self, path: str) -> bool:
107 assert self.explicit_package_bases

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected