(hook, filenames, color)
| 32 | |
| 33 | |
| 34 | def _hook_run(hook, filenames, color): |
| 35 | return run_language( |
| 36 | path=hook.prefix.prefix_dir, |
| 37 | language=languages[hook.language], |
| 38 | exe=hook.entry, |
| 39 | args=hook.args, |
| 40 | file_args=filenames, |
| 41 | version=hook.language_version, |
| 42 | deps=hook.additional_dependencies, |
| 43 | is_local=hook.src == 'local', |
| 44 | require_serial=hook.require_serial, |
| 45 | color=color, |
| 46 | ) |
| 47 | |
| 48 | |
| 49 | def _get_hook_no_install(repo_config, store, hook_id): |
no test coverage detected