Loading templates/pre-commit.yml +3 −0 Original line number Diff line number Diff line Loading @@ -22,7 +22,10 @@ pre-commit: # yamllint disable-line rule:line-length TF_HTTP_UNLOCK_ADDRESS: ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/terraform/state/default/lock TF_HTTP_UNLOCK_METHOD: DELETE # Needed for locking Cython to <3 for PyYAML<6 to install properly. PIP_CONSTRAINT: /tmp/constraint.txt script: - echo 'Cython < 3.0' > "$PIP_CONSTRAINT" - pre-commit run --all-files cache: paths: Loading Loading
templates/pre-commit.yml +3 −0 Original line number Diff line number Diff line Loading @@ -22,7 +22,10 @@ pre-commit: # yamllint disable-line rule:line-length TF_HTTP_UNLOCK_ADDRESS: ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/terraform/state/default/lock TF_HTTP_UNLOCK_METHOD: DELETE # Needed for locking Cython to <3 for PyYAML<6 to install properly. PIP_CONSTRAINT: /tmp/constraint.txt script: - echo 'Cython < 3.0' > "$PIP_CONSTRAINT" - pre-commit run --all-files cache: paths: Loading