Add bashate checks
Change-Id: I8ade46b27cc958b4b3b47d75a5faa07aa8dc02f7
This commit is contained in:
parent
06f71c9509
commit
78b492f350
@ -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
|
||||
|
2
tox.ini
2
tox.ini
@ -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 =
|
||||
|
Loading…
x
Reference in New Issue
Block a user