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

Method is_explicit_package_base

mypy/find_sources.py:106–108  ·  view source on GitHub ↗
(self, path: str)

Source from the content-addressed store, hash-verified

104 self.verbosity = options.verbosity
105
106 def is_explicit_package_base(self, path: str) -> bool:
107 assert self.explicit_package_bases
108 return normalise_package_base(path) in self.explicit_package_bases
109
110 def find_sources_in_dir(self, path: str) -> list[BuildSource]:
111 sources = []

Callers 1

_crawl_up_helperMethod · 0.95

Calls 1

normalise_package_baseFunction · 0.85

Tested by

no test coverage detected