run pre-commit install for post-checkout
This commit is contained in:
parent
50e155c371
commit
71f0a98f27
|
|
@ -92,6 +92,10 @@ def install_hooks():
|
|||
shutil.copy2(str(hooks_source_dir/filename),
|
||||
str(hooks_target_dir/filename))
|
||||
|
||||
# Begin DeltaV Additions - add pre-commit hooks if you have it installed
|
||||
if shutil.which("pre-commit") is not None:
|
||||
run_command(["pre-commit", "install"], True)
|
||||
# End DeltaV Additions
|
||||
|
||||
def reset_solution():
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in New Issue