run pre-commit install for post-checkout

This commit is contained in:
deltanedas 2025-04-09 17:07:40 +01:00
parent 50e155c371
commit 71f0a98f27
1 changed files with 4 additions and 0 deletions

View File

@ -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():
"""