commit 8619b974d17a186dc1013bfdc9d95f6a2e823335
Author: Kui Shi <email address hidden>
Date: Wed Aug 21 19:07:43 2013 +0800
emit warning while running flake8 without virtual env
run_tests.sh -N -p
it will call the flake8 installed on your host to detect PEP8, and
the flake8 plugin "OpenStack hacking" may not installed on your
host, so this command may not detect the OpenStack Style Commandment
supplied by hacking(e.g H202).
run_tests.sh -p
it will call the flake8 from virtual env, flake8 plugin "OpenStack
hacking" installed in virtual env will be triggered.
The result from "run_tests.sh -p" should be trusted, and jenkins uses
virtual env to run flake8 too.
When "-N" is enabled, emit warning to remind user.
Reviewed: https:/ /review. openstack. org/43098 github. com/openstack/ cinder/ commit/ 8619b974d17a186 dc1013bfdc9d95f 6a2e823335
Committed: http://
Submitter: Jenkins
Branch: master
commit 8619b974d17a186 dc1013bfdc9d95f 6a2e823335
Author: Kui Shi <email address hidden>
Date: Wed Aug 21 19:07:43 2013 +0800
emit warning while running flake8 without virtual env
run_tests.sh -N -p
it will call the flake8 installed on your host to detect PEP8, and
the flake8 plugin "OpenStack hacking" may not installed on your
host, so this command may not detect the OpenStack Style Commandment
supplied by hacking(e.g H202).
run_tests.sh -p
it will call the flake8 from virtual env, flake8 plugin "OpenStack
hacking" installed in virtual env will be triggered.
The result from "run_tests.sh -p" should be trusted, and jenkins uses
virtual env to run flake8 too.
When "-N" is enabled, emit warning to remind user.
Bug #1208584
Change-Id: Ie08e5fa2b44088 dad135e11583c04 6650d65df1e