diff --git a/tox.ini b/tox.ini index 301d453d041..571b571407d 100644 --- a/tox.ini +++ b/tox.ini @@ -47,6 +47,7 @@ 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 flake8 neutron-db-manage check_migration