From ddf42f8dad0e513dfe379de8a9860ce7687ac8aa Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Wed, 11 Jun 2025 15:51:02 +0900 Subject: [PATCH] Add bashate ... to enforce consistent format and also catch potential issues. Note that shell script is mainly used in devstack plugin atm. Change-Id: I0b37f5d8fe6401b6e3509f128994c10bb00f7295 --- .pre-commit-config.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 31d9d64cf..00bdf656a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -28,3 +28,9 @@ repos: hooks: - id: pyupgrade args: [--py3-only] + - repo: https://github.com/openstack/bashate + rev: 2.1.1 + hooks: + - id: bashate + args: ['-v', '-iE006'] + exclude: '.tox/.*'