(files, extension)
| 142 | |
| 143 | |
| 144 | def build_file_list(files, extension): |
| 145 | if not files: |
| 146 | _files = tools.utils.REPO_ROOT.rglob(f"*{extension}") |
| 147 | else: |
| 148 | _files = [fpath.resolve() for fpath in files if fpath.suffix == extension] |
| 149 | _files = [path.relative_to(tools.utils.REPO_ROOT) for path in _files] |
| 150 | return _files |
| 151 | |
| 152 | |
| 153 | def build_python_module_paths(files): |
no outgoing calls
no test coverage detected