From cf1439a342a96886cdfea24dae04f7f8c688b3fe Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Tue, 7 Mar 2017 08:31:27 +0200
Subject: [PATCH] - Removed shell-lint script, specify run directly in
 .pre-commit-hooks.yaml, update pre-commit-config.yaml accordingly. - Set
 pre-commit hooks by version tag instead of hash. - Bump minor version.

---
 .pre-commit-config.yaml | 7 +------
 VERSION                 | 2 +-
 hooks.yaml              | 5 +++--
 shell-lint              | 6 ------
 4 files changed, 5 insertions(+), 15 deletions(-)
 delete mode 100755 shell-lint

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 0172d57..8bc4f30 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,12 +1,7 @@
 ---
 -   repo: git://github.com/pre-commit/pre-commit-hooks
-    sha: cf550fcab3f12015f8676b8278b30e1a5bc10e70
+    sha: v0.7.1
     hooks:
     -   id: check-added-large-files
     -   id: check-yaml
     -   id: check-merge-conflict
-- repo: ./
-  sha: v0.2.0
-  hooks:
-  - id: shell-lint
-    files: shell-lint
diff --git a/VERSION b/VERSION
index 341cf11..9325c3c 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.2.0
\ No newline at end of file
+0.3.0
\ No newline at end of file
diff --git a/hooks.yaml b/hooks.yaml
index 06b6a3b..d840899 100644
--- a/hooks.yaml
+++ b/hooks.yaml
@@ -2,6 +2,7 @@
 - id: shell-lint
   name: Lint shell scripts
   description: Run /bin/sh -en against shell scripts.
-  language: script
-  entry: shell-lint
+  language: system
+  entry: /bin/sh
+  args: ['-en']
   files: \.(sh|bash|ksh|zsh)$
diff --git a/shell-lint b/shell-lint
deleted file mode 100755
index e5c815e..0000000
--- a/shell-lint
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh -e
-
-for script in $@
-do
-    sh -en "$script"
-done
-- 
GitLab