load python module from path
(module_name, path)
| 27 | |
| 28 | |
| 29 | def load_module_from_path(module_name, path): |
| 30 | """ |
| 31 | load python module from path |
| 32 | """ |
| 33 | spec = importlib.util.spec_from_file_location(module_name, path) |
| 34 | module = importlib.util.module_from_spec(spec) |
| 35 | sys.modules[module_name] = module |
| 36 | spec.loader.exec_module(module) |
| 37 | return module |
| 38 | |
| 39 | |
| 40 | def update_git_repo(): |
no outgoing calls
no test coverage detected