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)
Reviewed: https:/ /review. openstack. org/366997 /git.openstack. org/cgit/ openstack/ octavia/ commit/ ?id=e291a88210d fc108f78760dbfd d326a417aaca1a
Committed: https:/
Submitter: Jenkins
Branch: master
commit e291a88210dfc10 8f78760dbfdd326 a417aaca1a
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 autoescape_ false` bind_all_ interfaces` bind_all_ interfaces` (see /bugs.launchpad .net/octavia/ +bug/1489963)
* Resolve several instances of `B701 jinja2_
* Stifle several instances of `B303 md5`
* Resolve two instances of `B104 hardcoded_
* Stifle one instance of `B104 hardcoded_
https:/
Closes-Bug: #1621251
Related-Bug: #1489963
Change-Id: Iad3cbe5762949a 6311bdd361b1f12 c5a24c40633