Merge "emit warning while running flake8 without virtual env"

This commit is contained in:
Jenkins 2013-09-05 21:53:41 +00:00 committed by Gerrit Code Review
commit 339606db33
1 changed files with 4 additions and 0 deletions

View File

@ -68,6 +68,10 @@ function run_tests {
function run_flake8 {
echo "Running flake8 ..."
if [ $never_venv -eq 1 ]; then
echo "**WARNING**:" >&2
echo "Running flake8 without virtual env may miss OpenStack HACKING detection" >&2
fi
${wrapper} flake8
}