Merge "emit warning while running flake8 without virtual env"

This commit is contained in:
Jenkins 2013-09-02 07:36:38 +00:00 committed by Gerrit Code Review
commit e76301f6f3

View File

@ -162,6 +162,10 @@ function copy_subunit_log {
function run_pep8 {
echo "Running flake8 ..."
if [ $never_venv -eq 1 ]; then
echo "**WARNING**:"
echo "Running flake8 without virtual env may miss OpenStack HACKING detection"
fi
bash -c "${wrapper} flake8"
}