Commit 7d1220ca authored by Alexis Deruelle's avatar Alexis Deruelle
Browse files

fix: missing flag for `pre-commit install-hooks`

pre-commit install-hooks is missing the flag to point to the private
`.pre-commit-ci.yaml` config file which fails the job if no such file is
present inside the repository.
parent 11f7d091
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -363,7 +363,7 @@ stages:
      log_info "\\e[32mpre-commit\\e[0m not found in image \\e[33;1m${PRE_COMMIT_IMAGE}\\e[0m, initializing..."
      apk add --no-cache git
      pip install pre-commit
      pre-commit install-hooks
      pre-commit install-hooks -c .pre-commit-ci.yaml
    fi
  }