Comment 6 for bug 1489963

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to octavia (master)

Reviewed: https://review.openstack.org/366997
Committed: https://git.openstack.org/cgit/openstack/octavia/commit/?id=e291a88210dfc108f78760dbfdd326a417aaca1a
Submitter: Jenkins
Branch: master

commit e291a88210dfc108f78760dbfdd326a417aaca1a
Author: Paul Glass <email address hidden>
Date: Wed Sep 7 21:30:38 2016 +0000

    Stop using bandit-baseline

    bandit-baseline finds *new* issues introduced in a commit, by comparing
    results between two git commits. If the git repository has uncommitted
    changes, bandit-baseline refuses to run.

    This switches over to using plain bandit instead of bandit-baseline,
    and resolves or stifles existing bandit errors so we have a clean run.
    These updates apply to bandit running as part of `tox -e pep8` or `tox
    -e bandit`.

    * Have bandit runs from tox ignore the octavia/tests directory
    * Resolve several instances of `B701 jinja2_autoescape_false`
    * Stifle several instances of `B303 md5`
    * Resolve two instances of `B104 hardcoded_bind_all_interfaces`
    * Stifle one instance of `B104 hardcoded_bind_all_interfaces` (see
    https://bugs.launchpad.net/octavia/+bug/1489963)

    Closes-Bug: #1621251
    Related-Bug: #1489963

    Change-Id: Iad3cbe5762949a6311bdd361b1f12c5a24c40633