Add bashate checks
Change-Id: I8ade46b27cc958b4b3b47d75a5faa07aa8dc02f7
This commit is contained in:
parent
b0c5e31529
commit
0c4ca6a49d
|
@ -5,6 +5,7 @@
|
||||||
hacking>=0.9.2,<0.10
|
hacking>=0.9.2,<0.10
|
||||||
|
|
||||||
MySQL-python
|
MySQL-python
|
||||||
|
bashate>=0.2 # Apache-2.0
|
||||||
coverage>=3.6
|
coverage>=3.6
|
||||||
discover
|
discover
|
||||||
fixtures>=0.3.14
|
fixtures>=0.3.14
|
||||||
|
|
2
tox.ini
2
tox.ini
|
@ -33,6 +33,8 @@ commands =
|
||||||
{toxinidir}/tools/config/check_uptodate.sh
|
{toxinidir}/tools/config/check_uptodate.sh
|
||||||
# Check that .po and .pot files are valid:
|
# 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"
|
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]
|
[testenv:doc8]
|
||||||
deps =
|
deps =
|
||||||
|
|
Loading…
Reference in New Issue