diff --git a/.local/bin/Update-pkg b/.local/bin/Update-pkg index d376a15..55ed2cb 100755 --- a/.local/bin/Update-pkg +++ b/.local/bin/Update-pkg @@ -425,6 +425,11 @@ function install_taplo() { $install taplo } +function install_precommit(){ + # Install pre-commit + $pip install pre-commit $PIPEXTPRE +} + function main() { command_start update_pip command_start install_neovim_module_for_python @@ -458,6 +463,7 @@ function main() { command_start install_rust command_start install_tss_client command_start install_taplo + command_start install_precommit command_start update } diff --git a/.local/bin/pre-commit b/.local/bin/pre-commit deleted file mode 100755 index 69073fc..0000000 --- a/.local/bin/pre-commit +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash -TAG=v1.77.0 -docker pull --platform linux/amd64 ghcr.io/antonbabenko/pre-commit-terraform:$TAG -docker run --platform linux/amd64 -e "USERID=$(id -u):$(id -g)" -v "$(pwd)":/lint -w /lint ghcr.io/antonbabenko/pre-commit-terraform:$TAG run -a