CI: enforce bashate tox profile 84/67584/16
authorGuillaume Lambert <guillaume.lambert@orange.com>
Tue, 4 May 2021 15:21:00 +0000 (17:21 +0200)
committerGuillaume Lambert <guillaume.lambert@orange.com>
Wed, 12 May 2021 08:49:56 +0000 (08:49 +0000)
Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com>
Change-Id: I920542ec62e67ee37aebd554076bd79d6863212a

releasenotes/notes/enforce_bashate-578da8c23a30df6b.yaml [new file with mode: 0644]
tox.ini

diff --git a/releasenotes/notes/enforce_bashate-578da8c23a30df6b.yaml b/releasenotes/notes/enforce_bashate-578da8c23a30df6b.yaml
new file mode 100644 (file)
index 0000000..4f6d193
--- /dev/null
@@ -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 fca2afe..7c63f08 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -7,6 +7,7 @@ envlist =
   jjb-latest,
   jjb-version,
   license,
+  bashate,
   pre-commit
 skipsdist = True