Only run pep8 after tests if running all the tests

This commit is contained in:
termie 2011-01-30 21:55:32 -08:00
parent 8fbfae5065
commit 86b96d377c

View File

@ -71,4 +71,9 @@ then
fi
fi
run_tests && pep8 --repeat --show-pep8 --show-source --exclude=vcsversion.py bin/* nova setup.py || exit 1
if [ -z "$noseargs" ];
then
run_tests && pep8 --repeat --show-pep8 --show-source --exclude=vcsversion.py bin/* nova setup.py || exit 1
else
run_tests
fi