← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1215400] Re: emit warning while running flake8 without virtual env

 

** Changed in: horizon
       Status: Fix Committed => Fix Released

** Changed in: horizon
    Milestone: None => icehouse-2

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1215400

Title:
  emit warning while running flake8 without virtual env

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1215400/+subscriptions