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:
parent
d4f6cfa3fb
commit
11ede4f2ed
12
.pre-commit-hooks.yaml
Normal file
12
.pre-commit-hooks.yaml
Normal 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
|
Loading…
Reference in New Issue
Block a user