From: Guillaume Lambert Date: Tue, 4 May 2021 15:21:00 +0000 (+0200) Subject: CI: enforce bashate tox profile X-Git-Tag: v0.63.2~3 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=2d58832166fa9005771866b47b93275bf666c8ce;p=releng%2Fglobal-jjb.git CI: enforce bashate tox profile Signed-off-by: Guillaume Lambert Change-Id: I920542ec62e67ee37aebd554076bd79d6863212a --- diff --git a/releasenotes/notes/enforce_bashate-578da8c23a30df6b.yaml b/releasenotes/notes/enforce_bashate-578da8c23a30df6b.yaml new file mode 100644 index 00000000..4f6d1930 --- /dev/null +++ b/releasenotes/notes/enforce_bashate-578da8c23a30df6b.yaml @@ -0,0 +1,10 @@ +--- +features: + - | + Create a bashate tox profile. + Bashate is a shell linter inspired from PEP8. + It is now enforced by CI to improve bash code style. +fixes: + - | + Fix the issues detected by bashate (E043, E010, E011, E002, E020, E006, + E003). diff --git a/tox.ini b/tox.ini index fca2afe8..7c63f08c 100644 --- a/tox.ini +++ b/tox.ini @@ -7,6 +7,7 @@ envlist = jjb-latest, jjb-version, license, + bashate, pre-commit skipsdist = True