From 7a3faec9d4a976b9d4a0ad70b3a1e4ee8ab23f76 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Sat, 16 Jul 2022 18:04:56 +0300 Subject: [PATCH] Skip pip-complie pre-commit hook. Different Python versions cause different files. Shouldn't be run in CI. --- templates/pre-commit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/pre-commit.yml b/templates/pre-commit.yml index 447dce4..29dc3b7 100644 --- a/templates/pre-commit.yml +++ b/templates/pre-commit.yml @@ -11,7 +11,7 @@ pre-commit: variables: XDG_CACHE_HOME: "$CI_PROJECT_DIR/.cache" SKIP: |- - gitlab-ci-linter + gitlab-ci-linter,pip-compile # yamllint disable-line rule:line-length TF_HTTP_ADDRESS: ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/terraform/state/default TF_HTTP_USERNAME: gitlab-ci-token -- GitLab