From 323df7fd47d9c4ca28943ddec55a7690346c16c0 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Wed, 15 Feb 2017 08:09:46 +0200 Subject: [PATCH] - Use the local repo to check itself. --- .pre-commit-config.yaml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index baa5aa5..6a5880e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,11 +5,8 @@ - id: check-added-large-files - id: check-yaml - id: check-merge-conflict -- repo: local +- repo: ./ + sha: master hooks: - id: shell-lint - name: Lint shell scripts - description: Run /bin/sh -en against shell scripts. - language: script - entry: shell-lint files: shell-lint -- GitLab