CI: Add bashate tox profile
[releng/global-jjb.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index f008b29..fca2afe 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -76,6 +76,16 @@ commands =
         git config --global --unset user.email; \
         rm -f .git/REMOVE_USEREMAIL; fi"
 
+[testenv:bashate]
+basepython = python3
+deps =
+    bashate
+whitelist_externals = sh
+                      find
+commands =
+    find . -not -path '*/\.*' -name *.sh -exec bashate  \{\} +
+    #The option --max-line-length 80 is used by default.
+
 #########
 # Tools #
 #########