MCPcopy Index your code
hub / github.com/saltstack/salt / build_python_module_paths

Function build_python_module_paths

tools/precommit/docs.py:153–164  ·  view source on GitHub ↗
(files)

Source from the content-addressed store, hash-verified

151
152
153def build_python_module_paths(files):
154 _files = []
155 for path in build_file_list(files, ".py"):
156 strpath = str(path)
157 if strpath.endswith("__init__.py"):
158 continue
159 if not strpath.startswith(CHECK_PATHS):
160 continue
161 if strpath.startswith(EXCLUDE_PATHS):
162 continue
163 _files.append(path)
164 return _files
165
166
167def build_docs_paths(files):

Callers 2

check_inline_markupFunction · 0.85
check_stubsFunction · 0.85

Calls 2

build_file_listFunction · 0.85
appendMethod · 0.45

Tested by

no test coverage detected