Add bashate checks

Change-Id: I8ade46b27cc958b4b3b47d75a5faa07aa8dc02f7
This commit is contained in:
Sergey Reshetnyak 2014-10-08 18:23:31 +04:00
parent b0c5e31529
commit 0c4ca6a49d
2 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,7 @@
hacking>=0.9.2,<0.10
MySQL-python
bashate>=0.2 # Apache-2.0
coverage>=3.6
discover
fixtures>=0.3.14

View File

@ -33,6 +33,8 @@ commands =
{toxinidir}/tools/config/check_uptodate.sh
# Check that .po and .pot files are valid:
bash -c "find sahara -type f -regex '.*\.pot?' -print0|xargs -0 -n 1 msgfmt --check-format -o /dev/null"
# Run bashate checks
bash -c "find sahara -iname '*.sh' -print0 | xargs -0 bashate"
[testenv:doc8]
deps =