From 11ede4f2ed44c6ba750c9156b176c069865093b3 Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Wed, 20 Jun 2018 13:27:37 +0100 Subject: [PATCH] Enable bashate use with pre-commit Declares bashare pre-commit configuration. Change-Id: Ia9f45181094f2f839ad276d29e638e34d253f439 Signed-off-by: Sorin Sbarnea --- .pre-commit-hooks.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .pre-commit-hooks.yaml diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml new file mode 100644 index 0000000..cd746b1 --- /dev/null +++ b/.pre-commit-hooks.yaml @@ -0,0 +1,12 @@ +--- + +# For use with pre-commit. +# See usage instructions at http://pre-commit.com + +- id: bashate + name: bashate + description: This hook runs bashate for linting shell scripts + entry: bashate + language: python + types: [shell] + verbose: true