Enable bashate use with pre-commit

Declares bashare pre-commit configuration.

Change-Id: Ia9f45181094f2f839ad276d29e638e34d253f439
Signed-off-by: Sorin Sbarnea <ssbarnea@redhat.com>
This commit is contained in:
Sorin Sbarnea 2018-06-20 13:27:37 +01:00
parent d4f6cfa3fb
commit 11ede4f2ed
No known key found for this signature in database
GPG Key ID: B85725D917D27B8A
1 changed files with 12 additions and 0 deletions

12
.pre-commit-hooks.yaml Normal file
View File

@ -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