Replace pre-commit with installed via pip
This commit is contained in:
parent
9919ecd678
commit
64f8d33ba2
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user