Clean-up sanity checks done via shell scripts
Move the various checks done via shell into a single file; this is cleaner and we'll have a lot more space to explain what is going on. Related-bug: #1404605 Change-Id: Ibb451c6a25217f37b73983c30891f55b35f143cd
This commit is contained in:
5
tox.ini
5
tox.ini
@@ -47,11 +47,10 @@ downloadcache = ~/cache/pip
|
||||
|
||||
[testenv:pep8]
|
||||
commands =
|
||||
sh -c "if [ $(find . -type l ! -path '*.tox*' | wc -l) -ge 1 ]; then echo 'Symlinks are not allowed!' && exit 1; fi"
|
||||
sh ./tools/check_bash.sh
|
||||
# If it is easier to add a check via a shell script, consider adding it in this file
|
||||
sh ./tools/misc-sanity-checks.sh
|
||||
flake8
|
||||
neutron-db-manage check_migration
|
||||
sh -c "find neutron -type f -regex '.*\.pot?' -print0|xargs -0 -n 1 msgfmt --check-format -o /dev/null"
|
||||
whitelist_externals = sh
|
||||
|
||||
[testenv:i18n]
|
||||
|
||||
Reference in New Issue
Block a user